readme: remove use of nsenter in Shell Access

This commit is contained in:
Sameer Naik 2015-07-16 22:22:33 +05:30
parent 6987d800df
commit 85e5b71675

View File

@ -881,24 +881,6 @@ For debugging and maintenance purposes you may want access the containers shell.
docker exec -it gitlab bash
```
If you are using an older version of docker, you can use the [nsenter](http://man7.org/linux/man-pages/man1/nsenter.1.html) linux tool (part of the util-linux package) to access the container shell.
Some linux distros (e.g. ubuntu) use older versions of the util-linux which do not include the `nsenter` tool. To get around this @jpetazzo has created a nice docker image that allows you to install the `nsenter` utility and a helper script named `docker-enter` on these distros.
To install `nsenter` execute the following command on your host,
```bash
docker run --rm --volume=/usr/local/bin:/target jpetazzo/nsenter
```
Now you can access the container shell using the command
```bash
sudo docker-enter gitlab
```
For more information refer https://github.com/jpetazzo/nsenter
# Upgrading
GitLabHQ releases new versions on the 22nd of every month, bugfix releases immediately follow. I update this project almost immediately when a release is made (at least it has been the case so far). If you are using the image in production environments I recommend that you delay updates by a couple of days after the gitlab release, allowing some time for the dust to settle down.