Jump to content
View in the app

A better way to browse. Learn more.

乾坤堂社区

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

docker启动报错:Cannot connect to the Docker daemon

Featured Replies

  • Administrators

解决方式:正确的是将当前用户加入docker组
解决步骤:

sudo groupadd docker     #添加docker用户组
sudo gpasswd -a $USER docker`    #将登陆用户加入到docker用户组中
newgrp docker     #更新用户组
docker ps    #测试docker命令是否可以使用sudo正常使用
sudo service docker start
sudo systemctl enable docker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock

设置 daemon.json,没有的话创建,位置/etc/docker\daemon.json,设置为国内源

#中科大镜像
{
  "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
}

成长就是不断打破并重建三观

  • Views 146
  • Created
  • Last Reply

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.