Use Ask AI feature on the official docs.
What and Why?
This list isn’t complete.
ps= process status : check running containers (withafor all)
i= interactive : used indocker execordocker run
t= terminal : used indocker execordocker run
m= memory
vor-volume: corresponding folders in/out containers.
-rm: create temprarily a container (removed after exit)
- Other notes: Docker & GPU, WSL on Windows.
- Client: OrbStack, official apps.
OrbStack supports
containerName.orb.local, which points to the local server. It also supports logs, debugging, and opening a terminal inside the container.- Play with Docker – right on the web.
- Yury Pitsishin – Docker RUN vs CMD vs ENTRYPOINT.
- FastAPI in Containers - Docker - FastAPI (Provides clear, step-by-step explanations for building FastAPI Dockerfiles)
- More about
--platform
Dangling images are layers that have no relationship to any tagged images.
If you use
docker images -a and see a lot of <none>:<none> images. Don’t be worry to fast, if they’re dangling images, they take spaces, otherwise, they’re harmless to your drive! Check this SO question.In Obstack, check Logs tab to see the logs inside a container! For example, when a container fails to start.
Creating a new container,
Working with created containers,
OrbStack supports
containerName.orb.local, which points to the local server. It also supports logs, debugging, and opening a terminal inside the container.We can use sometimes interchangeable between
<container_id> and <container_name>.Remove a container,
If you have already a container, enter that container and then,
If you want to integrate the zsh installation in the Dockerfile,
Now, enter the container by
docker exec -it zsh (instead of bash)!