Skip to content

Instantly share code, notes, and snippets.

Avatar

Madhu Venugopal mavenugo

  • Apple
  • Cupertino, CA
View GitHub Profile
View gist:a65690ec59417c4a3bc015573823914f
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]:
View gistify715474.go
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
View gistify527842.go
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
View gistify100198.go
# 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),
View gistify299920.go
docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter
View gistify710342.go
https://gist.github.com/2a2a6601a246f964ae29f32e3bb37e18
View gistify533899.go
commit af377742133f496d2db5975c845fd825869db9a4
Author: John Howard <jhoward@microsoft.com>
Date: Mon Oct 10 15:08:17 2016 -0700
Windows: Update go-winio to 0.3.5
Signed-off-by: John Howard <jhoward@microsoft.com>
commit 430946c4c779ebdb6265524889a46d4f82d900e6
Author: John Howard <jhoward@microsoft.com>
View gistify261901.go
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
View gistify938053.go
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