docker啓動鏡像而且持久化保存


須要啓動systemd進程
docker run --privileged -tdi -p 8080:80 centos7-sshd-httpd-php56 init
docker inspect php

docker run --privileged -ti -d -p 8080:80 -v /mydata:/var/www/html centos7-sshd-httpd-php56 inithtml

相關文章
相關標籤/搜索