docker to create your own easyswoole container, the container and packaged into a mirror

macbook create docker easyswoole container and packed into their mirror image 

download mirrors 

docker pull easyswoole / easyswoole3 

run an empty file mounts (into the container, download easyswoole) 

Docker RUN -itd -p 9501: 9501 --name docker_easy -v / Users / admin / home / easyswoole_demo: / easyswoole easyswoole / easyswoole3: latest 

to running container packed into the mirror 

log in to your account 
docker login 

to submit your own container to the warehouse 
docker commit docker_easy walker1838 / myeasyswoole 

next fight to be in the local mirror tags 
docker tag docker_easy walker1838 / myeasyswoole 

after pack up, put the packaged image upload 
docker push walker1838 / myeasyswoole
Published 29 original articles · won praise 5 · Views 7988

Guess you like

Origin blog.csdn.net/qq_25194685/article/details/103522761