You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on #17 I discovered that something quirky happens at the point where we try to retrieve the logs:
$ dj --showlogs --ssh-hostname docker@ec2-[snip].amazonaws.com --ssh-identity-file ../docker-swarm.pem --ssh-remote /var/run/docker.sock hello-world
6jrmk4pm[snip]m27rt
About to get logs for container: e5afa446e1fa9c233c2[snip]542bba66593374c53085fd0719cdc42a4
kgeh0mfldrdpz85lc8lgx8m0e: (HTTP code 404) unexpected - No such container: e5afa446e1fa9c233c2[snip]542bba66593374c53085fd0719cdc42a4
I'm not sure if it's possible to tell the Swarm to use a different log driver when running the service, or whether AWS just ignores those settings. It might mean trying to get the logs from CloudWatch which could be a right pain.
The text was updated successfully, but these errors were encountered:
When working on #17 I discovered that something quirky happens at the point where we try to retrieve the logs:
$ dj --showlogs --ssh-hostname docker@ec2-[snip].amazonaws.com --ssh-identity-file ../docker-swarm.pem --ssh-remote /var/run/docker.sock hello-world 6jrmk4pm[snip]m27rt About to get logs for container: e5afa446e1fa9c233c2[snip]542bba66593374c53085fd0719cdc42a4 kgeh0mfldrdpz85lc8lgx8m0e: (HTTP code 404) unexpected - No such container: e5afa446e1fa9c233c2[snip]542bba66593374c53085fd0719cdc42a4
Although the error message is a bit strange, it's almost certainly caused by AWS sending all logs to CloudWatch rather than Docker looking after them itself.
I'm not sure if it's possible to tell the Swarm to use a different log driver when running the service, or whether AWS just ignores those settings. It might mean trying to get the logs from CloudWatch which could be a right pain.
The text was updated successfully, but these errors were encountered: