You can use the docker version command to check whether docker is started:
##Start the docker service:>> su root #切换到root用户 >> systemctl enable docker #设置开机自动启用docker服务 >> systemctl start docker #启动docker 服务
>> docker run -i -t ubuntu /bin/bash
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!