![]() |
发财的太阳 · GitHub - ...· 1 月前 · |
![]() |
勤奋的鸭蛋 · RUN Instruction Using ...· 1 月前 · |
![]() |
小眼睛的火车 · How to run Docker ...· 1 月前 · |
![]() |
谦虚好学的毛衣 · Docker中UseContainerSup ...· 1 月前 · |
![]() |
爽快的伤痕 · 组件问题 - JumpServer 文档· 3 周前 · |
![]() |
忧郁的路灯 · 把对象中多个数组对象中id相同的value值 ...· 5 月前 · |
![]() |
勤奋的手电筒 · [TypeScript] ...· 7 月前 · |
![]() |
被表白的盒饭 · Unable to interface ...· 10 月前 · |
![]() |
卖萌的眼镜
9 月前 |
我最近开始学习docker。安装docker后,输入
sudo docker run hello-world
以检查是否安装成功,它会显示为标题。顺便说一下,当我输入
docker version
时,它会显示我安装的版本。
发布于 2021-03-16 16:00:39
听起来您只安装了docker,但还没有启动docker守护进程。在大多数发行版上,您可以使用
systemctl
sudo systemctl start docker # to start the service
sudo systemctl enable docker # to autostart on boot
发布于 2021-03-16 16:29:34
我建议有时向/var/run/docker.sock添加更多权限,如下所示:
chmod 666 /var/run/docker.sock
发布于 2021-03-16 17:32:23
First
检查您是否有守护程序:
sudo systemctl list-units | grep -i docker
如果您有,请检查状态:
sudo systemctl status docker
按照@tdy回答的方式启动 Second 并启用它。
sudo systemctl start docker #启动服务sudo systemctl使docker #在引导时自动启动
如果您没有,请查看 Configure and troubleshoot the Docker daemon 了解更多信息。
https://stackoverflow.com/questions/66650896
复制相似问题
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2024 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号: 粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
![]() |
发财的太阳 · GitHub - VKSRC/Github-Monitor: Github Sensitive Information Leakage Monitor(Github信息泄漏监控系统) 1 月前 |
![]() |
爽快的伤痕 · 组件问题 - JumpServer 文档 3 周前 |