Hi,
trying to work with docker after the release of MM v.2.1.1.
The documentation says to start docker with:
docker run -d \
--publish 80:8080 \
--restart always \
--volume ~/magic_mirror/config:/opt/magic_mirror/config \
--volume ~/magic_mirror/modules:/opt/magic_mirror/modules \
--name magic_mirror \
MichMich/MagicMirror
That doesn’t work, so google helped and this is working:
docker run -d \
--publish 80:8080 \
--restart always \
--volume ~/magic_mirror/config:/opt/magic_mirror/config \
--volume ~/magic_mirror/modules:/opt/magic_mirror/modules \
--name magic_mirror \
randyramsaywack/magicmirror
Now docker ps tells me that all is running but i can’t see the site in my browser.
I tried localhost:8080 and localhost:8183, doesn’t work.
The documentation says to update the config with the Docker Host IP address.
So I tried to get this with
# As of Docker v1.3 you can attach to a bash shell
docker exec -it 2e23d01384ac bash
# That drops you into a bash shell then use the 'ip' command to grab the addr
root@2e23d01384ac:/# ip add | grep global
inet 172.17.0.1/16 scope global eth0
but inserting this in whitelist still doesn’t work.
May someone here knows what I’m doing wrong …
Thanks,
Karsten.