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