Home  >  Article  >  Operation and Maintenance  >  Can virtual machines use docker?

Can virtual machines use docker?

angryTom
angryTomOriginal
2020-03-19 16:43:473355browse

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

Can virtual machines use docker?

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 the docker tutorial column 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn