How can I enter gitlab container bash?
I want to enter the container bash to edit email config.
Please refer https://github.com/sameersbn/docker-gitlab#shell-access
As in the shell-access follows, error makes in the command.
[root@YEFEI-CENTOS7 yefei]# docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter Installing nsenter to /target cp: cannot create regular file '/target/nsenter': Permission denied Installing docker-enter to /target cp: cannot create regular file '/target/docker-enter': Permission denied
@fye that is selinux playing spoilsport.
However, centos 7 already has nsenter installed by default so you really dont need to install nsenter using the jpetazzo/nsenter image. Just install the docker-enter helper script at /usr/local/bin.
cd /usr/local/bin
sudo wget https://raw.githubusercontent.com/jpetazzo/nsenter/master/docker-enter
sudo chmod +x docker-enter
And you'll be ready to go..
3xs! Done!