Docker is an open source application container engine, based on the Go language and open source in compliance with the Apache2.0 protocol.

Docker allows developers to package their applications and dependencies into a lightweight, portable container, and then publish it to any popular Linux machine, which can also be virtualized.

Docker create command syntax

docker create: Create a new container without starting it

docker create [OPTIONS] IMAGE [COMMAND] [ARG...]

Docker create command example

Create a container using the docker image nginx:latest and name the container php.cn

php.cn@php.cn:~$ docker create --name php.cn nginx:latest
09b93464c2f75b7b69f83d56a9cfc23ceb50a48a9db7652ee4c27e3e2cb1961f