のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

Docker

jupyter notebook token

jupyter notebook listCurrently running servers: http://0.0.0.0:8888/?token=123456789abcdef :: /home/user01#

Conflict. The container name

$ nvidia-docker run --name test1 -p 1234:1234 -di test/project:ver1.0 docker: Error response from daemon: Conflict. The container name "/test1" is already in use by container "aaaaaa". You have to remove (or rename) that container to be ab…

restart go

restart go $ ps ax |grep docker 2174 ? Ssl 0:00 /usr/bin/dockerd -H fd:// 2428 ? Ssl 0:00 docker-containerd --config /var/run/docker/containerd/containerd.toml 4383 pts/1 S+ 0:00 grep --color=auto docker$ sudo docker version Client: Versio…

apt-cache madison docker-ce

$ apt-cache madison docker-ce docker-ce | 2:18.09.0~ce~0.4.tp4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages docker-ce | 2:18.09.0~ce~0.3.tp3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test …

nvidia-docker2 : Depends: docker-ce

$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ > sudo apt-key add - OK$ curl -s -L https://nvidia.github.io/nvidia-docker/ubuntu16.04/amd64/nvidia-docker.list | \ > sudo tee /etc/apt/sources.list.d/nvidia-docker.list deb ht…

ubuntu16.04ni docker install

$ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common Reading package lists... Done Building dependency tree Reading state information... Done apt-transport-https is already the newest version (1.2.27).…

ファイル共有

> docker run -v /c/Users/user01/Documents/MyDocker/workspace:/mnt/work --name env0 -di test/gen:1.0docker: Error response from daemon: Drive sharing seems blocked by a firewall.qiita.com # tar -zcvf folder.tar.gz /folder

E: Unable to correct problems, you have held broken packages.

root@1b2ddc8a7791:/# apt-get install -y --no-install-recommends libzmq3-dev=4.0.4+dfsg-2 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you …

libzmq3-dev : Depends: libzmq3 (= 4.0.4+dfsg-2) but 4.0.4+dfsg-2ubuntu0.1 is to be installed

Docfileを最小にしてみた。 Dockfile FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu14.04docker build -t test/gen:1.0 . docker run -name env1 test/gen:1.0 docker exec -ti env1 /bin/bashroot@1b2ddc8a7791:/# apt-get update Ign http://archive.ubuntu.c…

nvidia docker hub

github.com

docker error

The following packages have unmet dependencies: libzmq3-dev : Depends: libzmq3 (= 4.0.4+dfsg-2) but 4.0.4+dfsg-2ubuntu0.1 is to be installed E: Unable to correct problems, you have held broken packages.

unable to prepare context:

C:\Users\m_fujii\Documents\MyDocker > docker build -t fujii/general:1.0 . unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx C:\Users\m_fujii\Documents\MyDocker\Dockerfile: The system cannot find…

docker windows インストール先の変更

Hyper-v\docker\MobyLinuxVM.vhdxSettings>Advanced>"Images and Volumes VHD location"のBrowseで 移動したい、フォルダを選び、Applyをクリックすると移動しる。 ※先にMobyLinuxVM.vhdをコピーしてから、移動すると移動できなかった。 (エラーメッセージ…