Skip to content

Instantly share code, notes, and snippets.

@so0k
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save so0k/51b32796deea559d5773 to your computer and use it in GitHub Desktop.
Save so0k/51b32796deea559d5773 to your computer and use it in GitHub Desktop.
CoreOS alpha (745.1.0)
core@kalimdor ~ $ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bde18d705b86 sameersbn/gitlab:7.12.2-2 "/sbin/entrypoint.sh 6 days ago Up 26 seconds 443/tcp, 0.0.0.0:10022->22/tcp, 0.0.0.0:10080->80/tcp gitlab
42b5896ee45e registry:2 "registry cmd/regist 3 weeks ago Up 29 seconds 0.0.0.0:5000->5000/tcp registry
eb05cf6fd7ec redis:3 "/entrypoint.sh redi 5 weeks ago Exited (0) 4 weeks ago dev-redis
4bb6c15f0b1c sameersbn/redmine:2.6.1 "/app/init app:start 3 months ago Up 26 seconds 443/tcp, 0.0.0.0:11080->80/tcp redmine
67d683ac603d nginx:latest "nginx -g 'daemon of 8 months ago Up 22 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nginx_rp
78b356930a00 sameersbn/redis:latest "/start" 8 months ago Up 22 hours 6379/tcp redis
6c35ad536698 postgres:9.3 "/docker-entrypoint. 8 months ago Up 29 seconds 0.0.0.0:5432->5432/tcp postgres
3101d38d5253 busybox "true" 8 months ago Exited (0) 8 months ago ludiino-data
core@kalimdor ~ $ docker stop redis
Post http:///var/run/docker.sock/v1.19/containers/redis/stop?t=10: EOF. Are you trying to connect to a TLS-enabled daemon without TLS?
Error: failed to stop containers: [redis]
core@kalimdor ~ $ docker rm -f redis
EOF. Are you trying to connect to a TLS-enabled daemon without TLS?
Error: failed to remove containers: [redis]
core@kalimdor ~ $ docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d-dirty
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d-dirty
OS/Arch (server): linux/amd64
core@kalimdor ~ $ uname -a
Linux kalimdor 4.0.7-coreos-r2 #2 SMP Thu Jul 16 20:45:29 UTC 2015 x86_64 Intel(R) Xeon(R) CPU X5650 @ 2.67GHz GenuineIntel GNU/Linux
core@kalimdor ~ $ cat /etc/systemd/system/redis.service
[Unit]
Description=Redis Container
After=docker.service
Requires=docker.service
[Service]
TimeoutStartSec=0
ExecStartPre=-/usr/bin/docker stop redis
ExecStart=/usr/bin/docker start -a redis
[Install]
WantedBy=multi-user.target
core@kalimdor ~ $ docker info
Containers: 8
Images: 279
Storage Driver: btrfs
Build Version: Btrfs v3.17.3
Library Version: 101
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.0.7-coreos-r2
Operating System: CoreOS 745.1.0
CPUs: 1
Total Memory: 1.959 GiB
Name: kalimdor
ID: 26X4:QCC5:K2PI:TNQ7:YSGA:YOYL:6TBP:PMNY:JQ6V:2LPF:Y4DD:KAYG
Username: so0k
Registry: https://index.docker.io/v1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment