Git and Linux commands
Linux
rm -rf .git
read text file
cat filename.txt
sudo docker image prune --all
Images that are not associated with containers
docker image prune -a
docker image prune -a --filter "until=12h"
Shell into a docker container
docker exec container_name sh -c ""Remove a docker image
docker rmi imageid
docker rmi imageid
Docker run image inside a container with env file
docker run --env-file ./backend/.envs/.production/.postgres --name heroku -e "PORT=8765" -e "DEBUG=1" -p 8007:8765 heroku-app:latest
Commentaires
Enregistrer un commentaire