docker run -it ubuntu
docker run -it ubuntu [command] (i
interactive, t
terminal)
As it happens, the default command specified for the Ubuntu Dockerfile is, in fact, bash:
CMD ["/bin/bash"]
默认command 可以在Dockerfile里指定。
docker run -it ubuntu [command] (i
interactive, t
terminal)
As it happens, the default command specified for the Ubuntu Dockerfile is, in fact, bash:
CMD ["/bin/bash"]
默认command 可以在Dockerfile里指定。