docker create : Create a new container without starting it
Use the same method docker run Grammar is the same docker run Create a container using the docker image nginx:latest and name the container myrunoob 2.35.1. Grammar ¶
docker create [OPTIONS] IMAGE [COMMAND] [ARG...]
2.35.2. Example ¶
runoob@runoob:~$ docker create --name myrunoob nginx:latest
09b93464c2f75b7b69f83d56a9cfc23ceb50a48a9db7652ee4c27e3e2cb1961f