zno2

随笔分类 -  docker

https://docs.docker.com/
docker ps 过滤和格式化
摘要:https://docs.docker.com/engine/reference/commandline/ps/ Formatting The formatting option (--format) pretty-prints container output using a Go templat 阅读全文

posted @ 2023-06-06 13:11 zno2 阅读(131) 评论(0) 推荐(0)

http server , docker hub
摘要:https://hub.docker.com/_/httpd/ 1.Create a Dockerfile in your project FROM httpd:2.4 COPY ./public-html/ /usr/local/apache2/htdocs/ 2. 在同级目录创建文件夹 publ 阅读全文

posted @ 2023-06-06 13:11 zno2 阅读(11) 评论(0) 推荐(0)

docker run 需求
摘要:1. 当重启电脑时,容器自动启动 --restart always PolicyResult no Do not automatically restart the container when it exits. This is the default. on-failure[:max-retri 阅读全文

posted @ 2023-06-01 17:10 zno2 阅读(11) 评论(0) 推荐(0)

docker 文档
摘要:Engine reference¶ Dockerfile reference Docker run reference Command line reference API Reference 阅读全文

posted @ 2023-06-01 17:10 zno2 阅读(12) 评论(0) 推荐(0)

按照官方指导 Install Docker on CentOS 时遇到的问题
摘要:https://docs.docker.com/engine/reference/ https://docs.docker.com/engine/installation/linux/centos/ 问题一: GPG key retrieval failed: [Errno 14] curl#6 - 阅读全文

posted @ 2023-06-01 17:07 zno2 阅读(56) 评论(0) 推荐(0)

导航