Docker

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

Author: Anton Bracke

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

Last modified on July 25th, 2018 at 9:34

Leave a Reply

Your email address will not be published. Required fields are marked *