Skip to content

Instantly share code, notes, and snippets.

@dariko
Created October 30, 2018 18:27
Show Gist options
  • Save dariko/94d8a6b337ca31cc1c7685ceac14eee4 to your computer and use it in GitHub Desktop.
Save dariko/94d8a6b337ca31cc1c7685ceac14eee4 to your computer and use it in GitHub Desktop.
--- docker_info_ok 2018-10-30 19:03:13.899080640 +0100
+++ docker_info_ko 2018-10-30 19:03:25.605417752 +0100
@@ -1,13 +1,13 @@
-Containers: 2
+Containers: 1
Running: 1
Paused: 0
- Stopped: 1
-Images: 1
+ Stopped: 0
+Images: 35
Server Version: 18.06.1-ce
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
- Native Overlay Diff: true
+ Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
@@ -15,11 +15,11 @@
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
- NodeID: qqtgobsmoljb0xp26cz6nogg2
+ NodeID: ebbaihcn6qevwnnowc8l3vlu8
Is Manager: true
- ClusterID: 75vt1ainruyoqqhxropsrop9k
- Managers: 1
- Nodes: 1
+ ClusterID: 8xzqvvl9fm897fempx644w9vf
+ Managers: 3
+ Nodes: 3
Orchestration:
Task History Retention Limit: 5
Raft:
@@ -34,9 +34,11 @@
Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
- Node Address: 10.20.30.30
+ Node Address: 192.168.250.31
Manager Addresses:
- 10.20.30.30:2377
+ 192.168.250.31:2377
+ 192.168.250.32:2377
+ 192.168.250.33:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
@@ -46,14 +48,14 @@
Security Options:
seccomp
Profile: default
-Kernel Version: 3.10.0-862.14.4.el7.x86_64
+Kernel Version: 3.10.0-514.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
-CPUs: 2
-Total Memory: 487.5MiB
-Name: test
-ID: 5URR:CI33:H7TY:OVVV:3IPQ:H6GV:GDXN:MWCF:Y25W:TME7:6ZI3:AUHI
+CPUs: 4
+Total Memory: 11.58GiB
+Name: RD-CAEN-TPE-HA-04
+ID: BJT6:CB2D:6LJO:MFMS:M2LY:72YL:R5ZH:I7PW:HHWT:RRDX:F2YU:J4OU
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
@@ -62,4 +64,8 @@
Experimental: false
Insecure Registries:
127.0.0.0/8
+Registry Mirrors:
+ https://registry1.actility.local:5000/
+ https://registry3.actility.local:5000/
+ https://registry2.actility.local:5000/
Live Restore Enabled: false
`````
`````
$ diff -Naru --unified service_inspect_ok service_inspect_ko
--- service_inspect_ok 2018-10-30 19:13:28.170559959 +0100
+++ service_inspect_ko 2018-10-30 19:13:18.565892728 +0100
@@ -1,12 +1,12 @@
# docker service inspect registry
[
{
- "ID": "xrb06hroac1hzlx3q0dz1uatn",
+ "ID": "vlx5r5oo9kqgv21mqoeda6jma",
"Version": {
- "Index": 40
+ "Index": 5732
},
- "CreatedAt": "2018-10-29T18:24:56.345073577Z",
- "UpdatedAt": "2018-10-29T18:24:56.348677937Z",
+ "CreatedAt": "2018-10-30T07:46:02.469051285Z",
+ "UpdatedAt": "2018-10-30T07:46:02.471187557Z",
"Spec": {
"Name": "registry",
"Labels": {},
@@ -67,7 +67,7 @@
"Protocol": "tcp",
"TargetPort": 5000,
"PublishedPort": 5000,
- "PublishMode": "host"
+ "PublishMode": "ingress"
}
]
}
@@ -80,7 +80,7 @@
"Protocol": "tcp",
"TargetPort": 5000,
"PublishedPort": 5000,
- "PublishMode": "host"
+ "PublishMode": "ingress"
}
]
},
@@ -89,11 +89,15 @@
"Protocol": "tcp",
"TargetPort": 5000,
"PublishedPort": 5000,
- "PublishMode": "host"
+ "PublishMode": "ingress"
+ }
+ ],
+ "VirtualIPs": [
+ {
+ "NetworkID": "ussd5garbyp1df8269b8bel0v",
+ "Addr": "10.255.0.46/16"
}
]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment