Useful commands

Remove dangling images

docker rmi $(docker images --quiet --filter "dangling=true")

Update Composer Project Dependencies

docker run --rm -ti -v $PWD:/app -v /home/anton/.ssh/:/root/.ssh composer update --ignore-platform-reqs --no-scripts

echo "" > $(docker inspect --format='{{.LogPath}}' <container_name_or_id>)

Author: Anton Bracke

Software engineering student from Germany. Loves programming in PHP, JS and sometimes C.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.