张颜荣的个人博客分享 http://blog.sciencenet.cn/u/zhangyanyun 科研杂记

博文

Pulsar_Docker在Ubuntu 16.04 LTS的安装(失败)

已有 4236 次阅读 2018-8-8 17:44 |个人分类:菜鸟一号|系统分类:科研笔记| Pulsar, PSRSoft, PSRchive, PSRSALSA, Docker

 

1.安装Docker:(U为我的用户名)

[U@U ~]$ sudo apt-get update

[U@U ~]$ sudo apt-get -f install

Do you want to continue? [Y/n] y

[U@U ~]$ sudo apt -get install docker

The following NEW packages will be installed:
  docker
0 upgraded, 1 newly installed, 0 to remove and 230 not upgraded.
Need to get 12.2 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
Get:1 http://mirrors.ustc.edu.cn/ubuntu xenial/universe amd64 docker amd64 1.5-1 [12.2 kB]
Fetched 12.2 kB in 0s (41.1 kB/s)
Selecting previously unselected package docker.
(Reading database ... 897130 files and directories currently installed.)
Preparing to unpack .../docker_1.5-1_amd64.deb ...
Unpacking docker (1.5-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up docker (1.5-1) ...

[U@U ~]$ docker version

The program 'docker' is currently not installed. You can install it by typing:
sudo apt install docker.io

[U@U ~]$ sudo apt install docker.io

The following additional packages will be installed:
  bridge-utils cgroupfs-mount ubuntu-fan
Suggested packages:
  aufs-tools btrfs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
  bridge-utils cgroupfs-mount docker.io ubuntu-fan
0 upgraded, 4 newly installed, 0 to remove and 230 not upgraded.
Need to get 17.1 MB of archives.
After this operation, 90.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

[U@U ~]$ docker version

Client:
 Version:      17.03.2-ce
 API version:  1.27
 Go version:   go1.6.2
 Git commit:   f5ec1e2
 Built:        Thu Jul  5 23:07:48 2018
 OS/Arch:      linux/amd64
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.27/version: dial unix /var/run/docker.sock: connect: permission denied

[U@U ~]$ su

Password:

root@U: /home/U# docker version

Client:
 Version:      17.03.2-ce
 API version:  1.27
 Go version:   go1.6.2
 Git commit:   f5ec1e2
 Built:        Thu Jul  5 23:07:48 2018
 OS/Arch:      linux/amd64

Server:
 Version:      17.03.2-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.6.2
 Git commit:   f5ec1e2
 Built:        Thu Jul  5 23:07:48 2018
 OS/Arch:      linux/amd64
 Experimental: false


安装完毕!


2.安装pulsar_docker:

root@U: /home/U# git clone https://github.com/mserylak/pulsar_docker.git

root@U: /home/U#  docker build -t pulsar_docker ./pulsar_docker/
Building dependency tree...
Reading state information...
Err:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Err:2 http://us.archive.ubuntu.com/ubuntu trusty InRelease
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu xenial InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'


失败!!

---


6.BUG:

尝试过以下方法:

A:换 source.list:

   从 USTC 切换为 Tinghua

B:改变DNS:

   将DNS改为 8.8.8.8 等

  

以上两种方法都不管用!!!



https://wap.sciencenet.cn/blog-640181-1128149.html

上一篇:Chandra数据处理软件CIAO 的安装
下一篇:PSRSALSA的安装和简单使用
收藏 IP: 183.236.0.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-24 21:05

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部