Skip to content

Instantly share code, notes, and snippets.

View mavenugo's full-sized avatar

Madhu Venugopal mavenugo

  • Apple
  • Cupertino, CA
View GitHub Profile
time="2017-02-09T21:11:21.800403805Z" level=info msg="=== BEGIN goroutine stack dump ===
goroutine 51 [running]:
github.com/docker/docker/pkg/signal.DumpStacks()
/usr/src/docker/.gopath/src/github.com/docker/docker/pkg/signal/trap.go:74 +0x98
github.com/docker/docker/daemon.setupDumpStackTrap.func1(0xc8204aa060)
/usr/src/docker/.gopath/src/github.com/docker/docker/daemon/debugtrap_unix.go:18 +0x5e
created by github.com/docker/docker/daemon.setupDumpStackTrap
/usr/src/docker/.gopath/src/github.com/docker/docker/daemon/debugtrap_unix.go:20 +0x13f
goroutine 1 [chan receive, 263 minutes]:
Welcome to Docker!
swarm-manager000000:~$ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
cuyf1apbwj4c7f3ky3h2h7dly * swarm-manager000000 Ready Active Leader
w2mt3gdaulwnifxrvqbrg41z8 swarm-worker000001 Ready Active
wj7butznsvr6yq5adrxi64v1l swarm-worker000000 Ready Active
swarm-manager000000:~$ docker plugin ls
ID NAME DESCRIPTION ENABLED
189f70543802 docker4x/cloudstor:latest cloud storage plugin for Docker true
swarm-manager000000:~$ docker version
Welcome to Docker!
~ $ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
7rfkozi079zk7076v4sku4xv0 ip-172-31-16-185.us-west-2.compute.internal Ready Active
omt4j9vzvc8lj60i15gcwmrlu * ip-172-31-11-252.us-west-2.compute.internal Ready Active Leader
~ $ docker plugin ls
ID NAME DESCRIPTION ENABLED
bf5195ce2777 docker4x/cloudstor:latest cloud storage plugin for Docker true
~ $ docker version
# curl https://packages.docker.com/1.12/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15534 100 15534 0 0 51863 0 --:--:-- --:--:-- --:--:-- 52303
+ sh -c 'sleep 3; yum -y -q install docker-engine'
https://s3.amazonaws.com/packages.docker.com-staging/1.11/yum/repo/testing/centos/7/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
One of the configured repositories failed (Docker testing Repository),
docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter
https://gist.github.com/2a2a6601a246f964ae29f32e3bb37e18
30b0bb6d41ee
commit af377742133f496d2db5975c845fd825869db9a4
Author: John Howard <[email protected]>
Date: Mon Oct 10 15:08:17 2016 -0700
Windows: Update go-winio to 0.3.5
Signed-off-by: John Howard <[email protected]>
commit 430946c4c779ebdb6265524889a46d4f82d900e6
Author: John Howard <[email protected]>
madhu@Madhus-MBP ~ $ docker network create --subnet=40.1.1.0/24 my-user-net
68f40c6cd46aae2fd5388b03020e75741ebba6eeca04251068a2b9d509df2e9f
madhu@Madhus-MBP ~ $ docker run --name=my-svc1 --ip=40.1.1.2 --net=my-user-net -itd busybox sh
072b141a23caf54af5e6091a8eda847787e61eb209d207246d1c7c7bebf4096c
madhu@Madhus-MBP ~ $ docker run --name=my-svc2 --ip=40.1.1.3 --link=my-svc1:mysvc --net=my-user-net -itd busybox sh
84093ed474d985091698db550d9b503c8ac65c7742c7056951e0c21deba3c66c
madhu@Madhus-MBP ~ $ docker exec -it my-svc2 sh
madhu@Madhus-MBP ~ $ docker network create --subnet=40.1.1.0/24 my-user-net
68f40c6cd46aae2fd5388b03020e75741ebba6eeca04251068a2b9d509df2e9f
madhu@Madhus-MBP ~ $ docker run --name=my-svc1 --ip=40.1.1.2 --net=my-user-net -itd busybox sh
072b141a23caf54af5e6091a8eda847787e61eb209d207246d1c7c7bebf4096c
madhu@Madhus-MBP ~ $ docker run --name=my-svc2 --ip=40.1.1.3 --link=my-svc1:mysvc --net=my-user-net -itd busybox sh
84093ed474d985091698db550d9b503c8ac65c7742c7056951e0c21deba3c66c
madhu@Madhus-MBP ~ $ docker exec -it my-svc2 sh