Install Gitlab

https://docs.gitlab.com/ee/install/docker.html

the default username is root,

now lets get the default password

docker exec -it {container name} grep 'Password:' /etc/gitlab/initial_root_password

{container name} being the name of your container

lets create a access token

Creating SSH keys to push

ssh-keygen -t rsa -N '' -f ~/.ssh/id_gitlab_selectiont <<< y
vim ~/.ssh/id_gitlab_selectiont.pub

since I named the ssh key a non conventional name, I must put the host in the ~/.shh/config file

Leave a Reply

Your email address will not be published.