24 week 4 安装 docker
安装docker

出现问题

解决办法https://blog.csdn.net/VOlsenBerg/article/details/70140211



发现链接超时,然后就https://blog.csdn.net/mingmingysm/article/details/81084313
发现还是超时https://linux.cn/article-9223-1.html
那么就设置访问某个网站 我们通过代理来访问 再试试

还是不行,额。还是https://blog.csdn.net/qq_33951308/article/details/81140922
安装完以后 我们在运行一个命令
这样我们就不能每次都带上sudo才能运行了 方便
https://www.jianshu.com/p/95e397570896
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$ docker images
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/images/json: dial unix /var/run/docker.sock: connect: permission denied
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$ sudo groupadd docker
groupadd: group 'docker' already exists
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$ sudo gpasswd -a ${USER} docker
Adding user han to group docker
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$ sudo service docker restart
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$ docker images
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.35/images/json: dial unix /var/run/docker.sock: connect: permission denied
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$ newgrp - docker
han@han-VirtualBox:~$ cd Projects/
han@han-VirtualBox:~/Projects$ cd BittigerCS503/
han@han-VirtualBox:~/Projects/BittigerCS503$ cd week4
han@han-VirtualBox:~/Projects/BittigerCS503/week4$ cd executor/
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
han@han-VirtualBox:~/Projects/BittigerCS503/week4/executor$
免sudo
24 week 4 安装 docker的更多相关文章
- Ubuntu 14.04 LTS 安装Docker
Docker官方是有很详细的安装文档(https://docs.docker.com/engine/installation/ubuntulinux/),这里做了一个Ubuntu 14.04 LTS中 ...
- CentOS 7.2 安装 Docker 1.12.3 版
本文出自http://www.cnblogs.com/scoter2008 1.强大的官方文档 https://docs.docker.com/engine/installation/linux/ce ...
- Ubunu下安装Docker
安装Docker步骤如下: sudo apt-get update sudo apt-get install apt-transport-https sudo apt-key adv --keyser ...
- 升级linux内核(2.6.32->3.10.81),安装docker
1.内核升级环境准备 #查看已经安装的和未安装的软件包组,来判断我们是否安装了相应的开发环境和开发库: yum grouplist #一般是安装这两个软件包组,这样做会确定你拥有编译时所需的一切工具 ...
- Centos7安装Docker 基于Dockerfile 搭建httpd运行环境
Centos7安装Docker 基于Dockerfile 搭建httpd运行环境 docker docker搭建 docker build 本文档完成目标内容如下 使用Docker搭建http服务器一 ...
- Docker - 在Windows7中安装Docker
安装docker 1 - Virtualization Support Check whether virtualization support is enabled at BIOS via HAV ...
- Docker学习笔记1:CentOS7 下安装Docker
本文内容摘自官网:https://docs.docker.com/engine/installation/linux/centos/#/create-a-docker-group 注:本文是介绍Lin ...
- nginx做代理安装docker
1.环境 服务器IP 服务用途 是否能 联网 192.168.126.128 docker服务器(简称B服务器) 不能 192.168.126.130 nginx服务器(简称A服务器) 能 2.背景 ...
- Windows server 2016安装Docker EE
Windows server 2016安装Docker EE 下载 windows server 2016 180天评估版本. 地址:https://www.microsoft.com/en-us/e ...
随机推荐
- system 系统调用、gcc编译过程
system 库函数的功能是执行操作系统的命令或者运行指定的程序 #include <stdio.h> #include <stdlib.h>//引入库 int main() ...
- JS弹框
<script type="text/javascript"> function show_alert() { alert('警报'); } function show ...
- Vsftp的PASV mode(被动模式传送)和Port模式及 Linux下VsFTP配置全方案
什么叫做PASV mode(被动模式传送)?他是如何工作的? FTP的连接一般是有两个连接的,一个是客户程和服务器传输命令的,另一个是数据传送的连接.FTP服务程序一般会支持两种不同的模式,一种是Po ...
- Web of Science API
Web of Science API是通过Web Service获取Web of Science在线数据的应用程序接口,供各种编程语言调用.简单说,就是你能根据API实时.动态得到网页版Web of ...
- JAVA List合并集合
import java.util.ArrayList; import java.util.List; public class test { public static void main(Strin ...
- General error: 24374 OCIStmtFetch: ORA-24374: define not done before fetch or execute and fetch
问题 $sql='insert into "test"("id") values(4)'; $res=$this->conn->query($sql ...
- [Android] android.util.Log
android.util.Log常用的方法有以下5个:Log.v() Log.d() Log.i() Log.w() 以及 Log.e() .根据首字母对应VERBOSE,DEBUG,INFO, W ...
- Ruby学习笔记7: 添加身份验证(adding Authentication)
我们已经完成了Category & Product页面内容的增删改查,再加入一个身份验证即可成为一个较完整的Rails App了.本文就来完成这个任务. We now need to give ...
- java容器思维导图
转载自:https://blog.csdn.net/zbdxcyg/article/details/72330833
- 《算法》第四章部分程序 part 7
▶ 书中第四章部分程序,包括在加上自己补充的代码,图中找欧拉环 ● 无向图中寻找欧拉环 package package01; import edu.princeton.cs.algs4.StdOut; ...