TechHelper icon
tech
Helper
TechHelper icon
techHelper

Docker Commands Quick Reference

Image
Build the Dockerfile in your working directory into a new image
docker build .
Build an Image from a Dockerfile with tag
docker build -t <image_name> .
Build an Image from a Dockerfile without the cache
docker build -t <image_name> . –no-cache
Build an image from custom Dockerfile
docker build -f <docker_file>
Build an image with build arguments
docker build --build-arg foo=bar .
List local images
docker images
Delete an Image
docker rmi <image_name>
Remove all unused images
docker image prune
Containers
Run a new container from image
docker run <image_name>
Run container that automatically removes the container when it exits or stops
docker run --rm <image_name>

Commands Cheat Sheet

A vast collection of cheatsheets from popular tools and technologies with quick search functionlity and customizability

Query

Search for any commands from the list of tools and technologies as a whole from the All section or dedicated sections for each tool.

Tools/Technologies

Cheat sheets or commands from Docker, Kubernetes, Kafka, Redis, Git, Curl, SSH & SCP, Helm are provided. More will be added shorly.

Subsection

The command subsection is provided on the top right corner

Add new commands

Add new commands by clicking on the "Add New Command" button. In the wizard which opens up, select any exisitng categories or type (and press enter) to add new categories. Add subsections if needed in the next step. In the next step, add a meaningful description of the command which would help in searching. In the final step, enter the command you want to save.
Newly created categories would be added as buttons along with the existing categories.

Copy Command

You can copy the command to clipboard by clicking on the Copy button.

Show more

By default 10 query results are shown in the page. If more are present, the Show More button is displayed and on clicking, the entire results are shown.

techHelperFree tool box for developers and testers

Copyright © 2024 TechHelper. All Rights Reserved.