This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Stop keeping container logs #29
Comments
ghost
added
the
solarnet
label
Jul 6, 2015
👍 |
ghost
mentioned this issue
Sep 9, 2015
It turns out that I need to codify it, will do that later in the night. |
Steps to reproduce: $ ansible gateway -m shell -a 'echo DOCKER_OPTS="--log-driver=none" >> /etc/default/docker'
$ ansible gateway -f 1 -a 'restart docker' |
Also did the same on all other nodes (util,metrics,storage) |
Awesome, thanks. |
ghost
pushed a commit
that referenced
this issue
Sep 18, 2015
docker: disable container logs, closes #29
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Docker currently keeps the complete log of the container, which we throw away anyhow since IPFS keeps its own logs. Docker 1.6 introduced the
--log-driver
option which we can set tonone
.Ansible implements this in 2.0 which isn't released yet. Relevant commit: ansible/ansible-modules-core@718f32a
The text was updated successfully, but these errors were encountered: