Docker
Update a docker-compose setup with fresh containers
docker compose pull
docker compose up --force-recreate --build -d
docker image prune -f
Enter a docker container and run shell commands
This requires the container to have a shell installed. docker ps
can get the id of the container.
docker exec -it <container> sh