Pull the latest version of the image from the docker index. This is the recommended method of installation as it is easier to update image in the future. These builds are performed by the **Docker Trusted Build** service.
By default, the container will start webmin where you can configure bind using the web interface. Point your browser to `https://localhost:10000` and login as root. A random password is assigned for the root user. This password can be retrieved from the container logs.
If you do not want a random password for the root user, you can specify it using the `ROOT_PASSWORD` configuration option, eg. `-e ROOT_PASSWORD=password`. Please note that the root password is only set if `WEBMIN_ENABLED=true`.
For debugging and maintenance purposes you may want access the containers shell. If you are using docker version `1.3.0` or higher you can access a running containers shell using `docker exec` command.
```bash
docker exec -it bind 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 -v /usr/local/bin:/target jpetazzo/nsenter
```
Now you can access the container shell using the command
```bash
sudo docker-enter bind
```
For more information refer https://github.com/jpetazzo/nsenter