安装1curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
修改权限1chmod +x /usr/local/bin/docker-compose
验证1docker-compose --version
*** 注意 ***
如果提示 docker-compose: command not found, 需要将 /usr/local/bi...
零.背景介绍CentOS的服务器刚到手,执行yum install docker -y安装docker,反手一个docker run就报错:
12Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.Error: open /proc/self/uid_map: no such file or directory
壹.解决办法
卸载服务器上老版本的docker,如果没有安装过执行命令也无妨。
1yum remove docker docker-client docker-client-...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo ...