News for hackers. Stuff that matters.
Re:How to reclaim disk space used by Docker volumes, but kee... by touchpadder on Saturday June 20, 2020 @07:00PM (#23588164)
For docker-compose: When running and killing don't use ctrl+c It leaves anonymous volumes behind

Start as deamon with: docker-compose up -d

Stop with -v to remove anonymous volumes:

docker-compose down -v

This will slow down swelling

Re:How to reclaim disk space used by Docker volumes, but kee... by devmunchies on Saturday June 20, 2020 @07:07PM (#23588202)
How do I view server logs in real time while developing if daemonized (while preserving all the colorization and stuff). Do I just do some kind of tail log stream or something?
Re:How to reclaim disk space used by Docker volumes, but kee... by e12e on Saturday June 20, 2020 @08:21PM (#23588610)
I often do:

docker-compose up -d && docker-compose logs -f

Re:How to reclaim disk space used by Docker volumes, but kee... by johnchristopher on Sunday June 21, 2020 @03:39AM (#23590509)
A docker problem ? More of docker is the solution !

https://github.com/amir20/dozzle (a container that plugs into the docker API to render a webpage with logs of running containers)

Re:How to reclaim disk space used by Docker volumes, but kee... by purple-dragon on Saturday June 20, 2020 @07:17PM (#23588265)
I think it would just be:

  docker logs -f CONTAINER
If you want to watch logs from a specific file within the container then I would just use 'docker exec' and whatever shell commands you prefer.
Re:How to reclaim disk space used by Docker volumes, but kee... by X-Istence on Saturday June 20, 2020 @08:28PM (#23588636)
docker-compose logs -f <service>

So you don't have to manually hunt down the container you want the logs for.