Latest web development tutorials

Docker create command

Docker command Daquan Docker command Daquan


docker create: create a new container but do not start it

Use the same docker run

grammar

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

Syntax with docker run

Examples

Use docker mirror nginx: latest to create a vessel, and the vessel named myw3big

w3big@w3big:~$ docker create  --name myw3big  nginx:latest      
09b93464c2f75b7b69f83d56a9cfc23ceb50a48a9db7652ee4c27e3e2cb1961f

Docker command Daquan Docker command Daquan