The image generating docker build and launch container

1,docker build --no-cache . -t webapplication20190727

Format:. Docker build -t create the image name

The representative of the current directory

2, start

docker run -P bcc802c4a5f3(Image ID)

3, stop container

docker container stop dbcfcd09959a(Container ID)

 

Guess you like

Origin www.cnblogs.com/suzixuan/p/11274313.html