Hi everyone !
I have a little probleme with my docker configuration.
I have succesfully installed the Jeedom container and everything work fine in local because I can access the the webui of the jeedom container at the address http://SERVER_IP:2080.
BUT ! Impossible to do a connection from the WAN...
What can I do ? Do I have to add some iptables rules ?
Here you can find my container details :
Code
[
{
"Id": "2a4afd0410a9ce22271da336faac835dbe1b1f84d05af93cb6368217e9c63451",
"Created": "2015-12-08T17:02:45.312597746Z",
"Path": "/entrypoint.sh",
"Args": [
"/usr/bin/supervisord"
],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 16785,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-01-04T08:05:06.317599906Z",
"FinishedAt": "2016-01-04T08:05:03.1475325Z"
},
"Image": "95f7894b67c0bc8e83fc5d8cc54efc5a1a775a467e5d0cdd1529a41af6687e2b",
"ResolvConfPath": "/var/lib/docker/containers/2a4afd0410a9ce22271da336faac835dbe1b1f84d05af93cb6368217e9c63451/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/2a4afd0410a9ce22271da336faac835dbe1b1f84d05af93cb6368217e9c63451/hostname",
"HostsPath": "/var/lib/docker/containers/2a4afd0410a9ce22271da336faac835dbe1b1f84d05af93cb6368217e9c63451/hosts",
"LogPath": "/var/lib/docker/containers/2a4afd0410a9ce22271da336faac835dbe1b1f84d05af93cb6368217e9c63451/2a4afd0410a9ce22271da336faac835dbe1b1f84d05af93cb6368217e9c63451-json.log",
"Name": "/high_jones",
"RestartCount": 0,
"Driver": "aufs",
"ExecDriver": "native-0.2",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/etc/localtime:/etc/localtime:ro"
],
"ContainerIDFile": "",
"LxcConf": [],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"KernelMemory": 0,
"CpuShares": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 0,
"BlkioWeight": 0,
"OomKillDisable": false,
"MemorySwappiness": -1,
"Privileged": true,
"PortBindings": {
"22/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "2022"
}
],
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "2080"
}
]
},
"Links": null,
"PublishAllPorts": false,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"VolumesFrom": null,
"Devices": [],
"NetworkMode": "bridge",
"IpcMode": "",
"PidMode": "",
"UTSMode": "",
"CapAdd": null,
"CapDrop": null,
"GroupAdd": null,
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"SecurityOpt": null,
"ReadonlyRootfs": false,
"Ulimits": null,
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"CgroupParent": "",
"ConsoleSize": [
0,
0
],
"VolumeDriver": ""
},
"GraphDriver": {
"Name": "aufs",
"Data": null
},
"Mounts": [
{
"Name": "f2a91a02eacb105a5a18f9cae7621a5b933de3e8b6fe8365b966c394b6ad227f",
"Source": "/var/lib/docker/volumes/f2a91a02eacb105a5a18f9cae7621a5b933de3e8b6fe8365b966c394b6ad227f/_data",
"Destination": "/media/10236d77-d0d5-49bf-834f-9e57c65fbff6/Docker",
"Driver": "local",
"Mode": "",
"RW": true
},
{
"Source": "/etc/localtime",
"Destination": "/etc/localtime",
"Mode": "ro",
"RW": false
}
],
"Config": {
"Hostname": "2a4afd0410a9",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"22/tcp": {},
"443/tcp": {},
"80/tcp": {},
"8070/tcp": {},
"8083/tcp": {},
"9001/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"JEEDOM_DB_HOST=localhost",
"JEEDOM_DB_PASSWORD=jeedom",
"SHELL_ROOT_PASSWORD=jeedom",
"LC_ALL=C.UTF-8"
],
"Cmd": [
"/usr/bin/supervisord"
],
"Image": "cquad/jeedom:latest",
"Volumes": {
"/media/10236d77-d0d5-49bf-834f-9e57c65fbff6/Docker": {}
},
"WorkingDir": "/usr/share/nginx/www/jeedom",
"Entrypoint": [
"/entrypoint.sh"
],
"OnBuild": null,
"Labels": {},
"StopSignal": "SIGTERM"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "d6a103f683ae82f8e0fedeaf86b01d575458552629c6b0f463634d919e166c1e",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"22/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "2022"
}
],
"443/tcp": null,
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "2080"
}
],
"8070/tcp": null,
"8083/tcp": null,
"9001/tcp": null
},
"SandboxKey": "/var/run/docker/netns/d6a103f683ae",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "48ea1fa6617d068c39346a9c3ee875f71fd9d5bcbd89b8b10e5a9a120235d16c",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"EndpointID": "48ea1fa6617d068c39346a9c3ee875f71fd9d5bcbd89b8b10e5a9a120235d16c",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
}
]
Alles anzeigen
Thank you for your help