Docker 笔记

仅记录,待日后完善

Docker内部没法解析域名

启动参数加上 –network=host (不过这样容器就用host的port了

开机自启

启动参数加上 –restart=always

进入容器内部

docker exec -it name /bin/bash

Licensed under CC BY-NC-SA 4.0
Lethon & FrostMiKu
Built with Hugo
Theme Stack designed by Jimmy