How to start docker in ubuntu

Release: 2020-03-28 15:25:14
Original
10907 people have browsed it

How to start docker in ubuntu

You can use the docker version command to check whether docker is started:

How to start docker in ubuntu

##Start the docker service:

>> su root #切换到root用户
>> systemctl enable docker #设置开机自动启用docker服务
>> systemctl start docker #启动docker 服务
Copy after login

Start docker Container

>> docker run -i -t ubuntu /bin/bash
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 How to start docker in ubuntu. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!