https://github.com/urbanclimatefr/docker-fundamentals
Docker Project
https://github.com/urbanclimatefr/docker-fundamentals
Last synced: 7 months ago
JSON representation
Docker Project
- Host: GitHub
- URL: https://github.com/urbanclimatefr/docker-fundamentals
- Owner: urbanclimatefr
- Created: 2024-11-07T17:39:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T17:42:32.000Z (11 months ago)
- Last Synced: 2025-01-17T18:56:55.361Z (9 months ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Fundamnetals
Docker Project Repo## Build simple hello world image
docker build -t hello-world .## build fake user print image
docker build -f dockerfile-user -t hello-user .## build image for repo and push
docker build -f dockerfile-user -t learndataengineering/hello-user:latest .docker push learndataengineering/hello-user:latest
## remove image and pull new from repository
docker rmi learndataengineering/my-repo:latestdocker pull learndataengineering/my-repo:latest
## find and remove dangling images
docker images -f dangling=truedocker rmi -f $(docker images -f "dangling=true" -q)