Quickstart containers (Engine)

Quickstart Docker Engine

This quickstart assumes you have a working installation of Docker Engine. To verify Engine is installed, use the following command:

# Check that you have a working install
$ docker info

If you get docker: command not found or something like /var/lib/docker/repositories: permission denied you may have an incomplete Docker installation or insufficient privileges to access Engine on your machine. With the default installation of Engine docker commands need to be run by a user that is in the docker group or by the root user.

Depending on your Engine system configuration, you may be required to preface each docker command with sudo. One way to avoid having to use sudo with the docker commands is to create a Unix group called docker and add users that will be entering 登录查看完整内容