What you seem to be looking for is the -d option for the docker run command which starts the container on background. You can then access the container easily .