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

Can virtual machines use docker?

angryTom
Release: 2020-03-19 16:43:47
Original
3382 people have browsed it

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
Copy after login

Can virtual machines use docker?

2. Start docker

service docker start
Copy after login

3 , If necessary, you can set up auto-start at boot

systemctl start docker
systemctl enable docker
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template