Home>Article>Operation and Maintenance> Can virtual machines use docker?
Can virtual machines use docker?
Virtual machines can use docker.
The specific method is as follows:
Environment: vmware virtual machine, CentOS7 (recommended learning:CentOS usage tutorial)
1. Install docker
yum install docker-ce
2. Start docker
service docker start
3 , If necessary, you can set up auto-start at boot
systemctl start docker systemctl enable docker
For more related tutorials, please pay attention to thedocker tutorialcolumn on the PHP Chinese website.
The above is the detailed content of Can virtual machines use docker?. For more information, please follow other related articles on the PHP Chinese website!