I noticed in the latest Docker CLI documentation that Docker CLI command list has expanded.
If I used docker exec earlier to start executable inside container now I can also use docker container exec command.
docker container run command is similar to docker run, etc.
So which commands are preferrable now? Old syntax or new docker container syntax? Unfortunately I couldn't find any explanation in the docs.
Also what is the difference between docker container run and docker container create commands? And between docker container stop and docker container kill? The description and syntax are very similar.
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…