Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Docker logs not moving to storage accounts instead kept on Disk. #69

Open
shivamgupta211 opened this issue Aug 11, 2018 · 3 comments
Open

Comments

@shivamgupta211
Copy link

Expected behavior

Docker log files should be moved to the attached storage account

Actual behavior

Docker log files are present on the Disk, not moving to the attached storage account. Due to this docker logs are eating up much disk space.

Information

  • Full output of the diagnostics from "docker-diagnose" ran from one of the instance

swarm-manager000000:/$ docker-diagnose
curl: (7) Failed to connect to 10.0.0.4 port 44554: Connection refused
OK hostname=swarm-worker000000 session=1533969549-DxagcZ10QEbaxhQddRUr6eShWjlkusMr
Done requesting diagnostics.
Your diagnostics session ID is 1533969549-DxagcZ10QEbaxhQddRUr6eShWjlkusMr
Please provide this session ID to the maintainer debugging your issue.

@thehappycoder
Copy link

I have the same issue.

The following works:

$ docker exec -it editions_logger bash     
# touch /logmnt/helloWorld

I immediately see the new file in the storage account in Azure, but swarm service logs don't end up there for some reason.

diagnostics session ID is 1546487853-TDUrFsT0HNbvfDesNrLtILMIeAqwI5UZ

@Masa331
Copy link

Masa331 commented Jun 3, 2019

@shivamgupta211 @thehappycoder Were you somehow able to resolve this issue please? I have the same problem now

@thehappycoder
Copy link

@Masa331 I ended up migrating to Kubernetes. Docker for Azure seems very unstable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants