Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 761 Bytes

File metadata and controls

25 lines (17 loc) · 761 Bytes

Docker

Commands

$ docker ps -a # show all docker containers
$ docker images -a # show all docker images

Docker-Compose

docker-compose -f src/main/docker/app.yml ps --all # show all docker containers of compose
docker-compose -f src/main/docker/app.yml rm --all # delete all docker containers of compose

Troubleshooting

Docker-compose: No such image

link

The old cache cause this issue, I failed to run this command at the first time. And docker-compose already created images which I can't see from docker images. Need to check from docker-compose ps, and remove all old images with this command docker-compose rm, then rebuild again.