Docker/Docker compose cheatsheet

My most often forgotten docker commands

docker

Published 4 years ago

A list of Docker commands I can refer to for future use.

Docker

Show docker containers (including ids)

docker ps

Show docker volumes

docker volume ls

Remove all unused local volumes. Unused local volumes are those which are not referenced by any containers.

docker volume prune

Remove specific volume

docker volume rm <volume_name>

Enter docker container

docker exec -it <container name>

Docker Compose

docker-compose up -d

-d is detached mode, for running containers without needing to retain shell window open.

Building a docker image

docker-compose build service_name

Let's chat about your next project

Whether you're looking for a single contractor or a full team, I regularly collaborate with a trusted collective of designers and developers to deliver large-scale projects.

See also...

KickTown Football

Website Development for KickTown Football: Custom Build, Merchandise Store, and Booking System

Stock Investment App

Mobile and web app for stock investment, built with TypeScript, React, and WebSockets, offering real-time data and responsive design.

CnCNet - Website & App Development

Comprehensive design and development of web and desktop apps for CnCNet

Bespoke AR Web Configurator for E-Bikes

A bespoke augmented reality web configurator developed to showcase the client's E-Bike, offering fully customizable options such as color selections and feature configurations.

Oriental Garden Restaurant

A complete website redesign featuring a new online ordering system for enhanced customer experience and increased revenue.

Web App Visualizer - Facial Cosmetic Treatment Simulation

A React and TypeScript-powered web app designed to visualize facial cosmetic treatment results for enhanced customer decision-making

React Native - Android & iOS App

Development of a bespoke Android & iOS app for a Health technology startup, built with React Native & TypeScript.

Website - C&C Community

Enhancing the platform with a sleek user interface, improved SEO coverage, and integrated content features like Twitch, and Steam. Offering a central resource for Command & Conquer fans and creators.