Hi All,
Just encountered a very interesting problem: after redefining a couple of environment variables for a particular application, the app restarted, which is fine, and normal. Unfortunately it looks like 3 instances of our container spawned - that’s not normal!
I quickly logged into the host, and did a docker ps, to show that I’m not going crazy:
root@da2194a:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
872d9d0e5e50 registry.resin.io/velimopretest/bcd1f95c37bb8efc1117edff2fd265c94f3b2d3d "dockerd-entrypoint.s" 22 minutes ago Up 11 minutes backstabbing_einstein
59fd7513916c registry.resin.io/velimopretest/bcd1f95c37bb8efc1117edff2fd265c94f3b2d3d "dockerd-entrypoint.s" 22 minutes ago Up 11 minutes hungry_bartik
4a855947b0e7 registry.resin.io/velimopretest/bcd1f95c37bb8efc1117edff2fd265c94f3b2d3d "dockerd-entrypoint.s" 22 minutes ago Up 11 minutes hopeful_booth
7ce63346094b resin/amd64-supervisor "/sbin/init" 2 weeks ago Up 11 minutes resin_supervisor
As you can see, three versions of the same container are running there. What’s really weird, is that this status survives a device restart. Has anyone seen anything like that before? I should say now - we’re running a docker-in-docker image here, so it’s possible that it’s part of the problem, however we’ve been running this image a while now, and I don’t think I’ve seen this behaviour before.
Thanks,
Corin