docker 一些常用的命令手记
容器内安装vim
apt-get update
apt-get install vim
容器内文件拷贝到linux
docker cp 容器id:容器文件路径 linux路径
异常:Error response from daemon: failed to initialize logging driver: journald is not enabled on this host
日志系统异常,无法启动,解决办法:
setenforce 0 systemctl start systemd-journald systemctl status systemd-journald