Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)
Web TippsUse custom web fonts in Google Sheets charts(08.09.2026 um 17:05 Uhr)
Web TippsIntroducing the new 1Password App for Google Chat(08.09.2026 um 18:02 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 2 Min Lesezeit
0

Getting Started with Docker: Essential Commands for Beginners

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

So you're venturing into the realm of Docker? Great choice! This technology is a game changer for developers, making it incredibly simple to package and run apps in containers.



To help you started, here are some important Docker commands you'll commonly use.






1. Installing Docker



Before you start, make sure Docker is installed on your machine. You can follow the official installation guide for Docker Desktop.






2. Basic Docker Commands






docker --version



This command verifies your Docker installation by checking the installed version.






docker pull <image_name>



This command pulls a Docker image from the Docker Hub repository.






docker run <image_name>



This command creates and runs a container from a Docker image. To run container in detached mode add -d flag.

To map container port to local ports add -p flag.




CODE
Example:
docker run -d -p 8080:80 nginx







This runs nginx container in port 8080 in detached mode(Runs in background i.e. No terminal will be tied to it).(We are mapping container port 80 to our local port 8080)






docker ps



This shows all running containers. Use docker ps -a to see all containers, including those that are stopped.






docker images



This command lists all Docker images downloaded to your local machine.






3. Commands to Manage Containers






docker stop <container_id>



This command stops a running container.






docker start <container_id>



This command starts a stopped container.






docker logs <container_id>



This command is used to show logs of a running container.






docker restart <container_id>



This command restarts a running container.






docker rm <container_id>



This command deletes a stopped container. Use -f to force remove a running container.



(You can replace with the actual container ID or name.)






docker rmi <image_name>



This command deletes an image from local machine. Used to free up space.






docker system prune



This command cleans up all stopped containers, dangling images, and unused networks.



Docker makes it easy to package and deploy applications. If you master these commands, it will give you a solid foundation as you begin exploring more advanced features. Any questions ask them below.



Happy Dockerizing!

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
Use custom web fonts in Google Sheets charts
2 Quellen
Introducing the new 1Password App for Google Chat
1 Quelle
Context-aware access controls are available for Gemini Enterprise in the Admin console
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Getting Started with Docker: Essential Commands for Beginners

Thematisch verwandte Begriffe: Getting, Started, with, Docker · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...