“Remova o volume do docker” Respostas de código

Excluir volumes Docker

# Procedure
# 1- Stop the container(s) using the following command:
docker-compose down
# 2- Delete all containers using the following command:
docker rm -f $(docker ps -a -q)
# 3-Delete all volumes using the following command:
docker volume rm $(docker volume ls -q)
# 4-Restart the containers using the following command:
docker-compose up -d
Plain Polecat

Remova o volume do docker

docker-compose down
docker rm -f $(docker ps -a -q)
docker volume rm $(docker volume ls -q)
docker-compose up -d
Shy Skipper

Docker Remova todo o volume

docker volume rm $(docker volume ls -q)
Shy Skunk

Remova todo o Docker de volume

./vendor/bin/sail down --rmi all -v
JérômeW

Respostas semelhantes a “Remova o volume do docker”

Perguntas semelhantes a “Remova o volume do docker”

Mais respostas relacionadas para “Remova o volume do docker” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código