The sumary table says “share: seafile, mount point: /shared” and port 8090.
Here’s a diff between seafile (the rock-on) and seafile2 (the CLI instance):
[root@rockstor-test logs]# diff -u <(docker inspect seafile) <(docker inspect seafile2)
--- /dev/fd/63 2018-09-25 13:47:31.059246418 -0400
+++ /dev/fd/62 2018-09-25 13:47:31.059246418 -0400
@@ -1,32 +1,32 @@
[
{
- "Id": "d016456cf398967403906c4928655c6d49beea53c12cb2703e2d309bbe90fb46",
- "Created": "2018-09-25T02:15:38.437161948Z",
+ "Id": "243da137ef35356c9c6afed8aec97779eed2203fe2028c58bfddeb1322b5394a",
+ "Created": "2018-09-25T16:02:02.806175914Z",
"Path": "/sbin/my_init",
"Args": [
"--",
"/scripts/start.py"
],
"State": {
- "Status": "exited",
- "Running": false,
+ "Status": "running",
+ "Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
- "Pid": 0,
- "ExitCode": 2,
+ "Pid": 10337,
+ "ExitCode": 0,
"Error": "",
- "StartedAt": "2018-09-25T16:15:10.010471848Z",
- "FinishedAt": "2018-09-25T16:15:25.81722002Z"
+ "StartedAt": "2018-09-25T16:02:04.396458913Z",
+ "FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:9dc395e1dd439e73ecbec1d0c25a57e7f4e5cafc34017600951996bb575c1637",
- "ResolvConfPath": "/mnt2/home/containers/d016456cf398967403906c4928655c6d49beea53c12cb2703e2d309bbe90fb46/resolv.conf",
- "HostnamePath": "/mnt2/home/containers/d016456cf398967403906c4928655c6d49beea53c12cb2703e2d309bbe90fb46/hostname",
- "HostsPath": "/mnt2/home/containers/d016456cf398967403906c4928655c6d49beea53c12cb2703e2d309bbe90fb46/hosts",
+ "ResolvConfPath": "/mnt2/home/containers/243da137ef35356c9c6afed8aec97779eed2203fe2028c58bfddeb1322b5394a/resolv.conf",
+ "HostnamePath": "/mnt2/home/containers/243da137ef35356c9c6afed8aec97779eed2203fe2028c58bfddeb1322b5394a/hostname",
+ "HostsPath": "/mnt2/home/containers/243da137ef35356c9c6afed8aec97779eed2203fe2028c58bfddeb1322b5394a/hosts",
"LogPath": "",
- "Name": "/seafile",
- "RestartCount": 3113,
+ "Name": "/seafile2",
+ "RestartCount": 0,
"Driver": "btrfs",
"MountLabel": "",
"ProcessLabel": "",
@@ -34,8 +34,7 @@
"ExecIDs": null,
"HostConfig": {
"Binds": [
- "/mnt2/seafile:/shared",
- "/etc/localtime:/etc/localtime:ro"
+ "/opt/seafile-data:/shared"
],
"ContainerIDFile": "",
"LogConfig": {
@@ -47,18 +46,12 @@
"80/tcp": [
{
"HostIp": "",
- "HostPort": "8090"
- }
- ],
- "80/udp": [
- {
- "HostIp": "",
- "HostPort": "8090"
+ "HostPort": "8080"
}
]
},
"RestartPolicy": {
- "Name": "unless-stopped",
+ "Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
@@ -126,31 +119,22 @@
"Mounts": [
{
"Type": "bind",
- "Source": "/mnt2/seafile",
+ "Source": "/opt/seafile-data",
"Destination": "/shared",
"Mode": "",
"RW": true,
"Propagation": ""
- },
- {
- "Type": "bind",
- "Source": "/etc/localtime",
- "Destination": "/etc/localtime",
- "Mode": "ro",
- "RW": false,
- "Propagation": ""
}
],
"Config": {
- "Hostname": "d016456cf398",
+ "Hostname": "243da137ef35",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
- "80/tcp": {},
- "80/udp": {}
+ "80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
@@ -171,7 +155,7 @@
"/scripts/start.py"
],
"ArgsEscaped": true,
- "Image": "seafileltd/seafile",
+ "Image": "seafileltd/seafile:latest",
"Volumes": null,
"WorkingDir": "/opt/seafile",
"Entrypoint": null,
@@ -180,36 +164,43 @@
},
"NetworkSettings": {
"Bridge": "",
- "SandboxID": "029e1cf295cc40155d981a70a0b97926b20da3f0caac651107c7bfaeadaaf9ee",
+ "SandboxID": "81dfa8e8cca83024f11fa880641a346b3815b92d25afdbdb2ebd991a61deb6fa",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
- "Ports": null,
- "SandboxKey": "/var/run/docker/netns/029e1cf295cc",
+ "Ports": {
+ "80/tcp": [
+ {
+ "HostIp": "0.0.0.0",
+ "HostPort": "8080"
+ }
+ ]
+ },
+ "SandboxKey": "/var/run/docker/netns/81dfa8e8cca8",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
- "EndpointID": "",
- "Gateway": "",
+ "EndpointID": "f3962efa7e8c1a2f17a0a28edd69ff976cfe3f4874d9e000fa3113cc4115c98d",
+ "Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
- "IPAddress": "",
- "IPPrefixLen": 0,
+ "IPAddress": "172.17.0.4",
+ "IPPrefixLen": 16,
"IPv6Gateway": "",
- "MacAddress": "",
+ "MacAddress": "02:42:ac:11:00:04",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "09334b8c6c4783483a24bda3c4f18f267cdfc737cde84ee44bf454c803d1de54",
- "EndpointID": "",
- "Gateway": "",
- "IPAddress": "",
- "IPPrefixLen": 0,
+ "EndpointID": "f3962efa7e8c1a2f17a0a28edd69ff976cfe3f4874d9e000fa3113cc4115c98d",
+ "Gateway": "172.17.0.1",
+ "IPAddress": "172.17.0.4",
+ "IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
- "MacAddress": ""
+ "MacAddress": "02:42:ac:11:00:04"
}
}
}
I can share a full one if necessary.
The only major differences I see, aside from the fact that one is running and one isn’t: RestartPolicy, and the fact that seafile2 is using :latest explicitly.