Skip to content

pierremanceaux/memo-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

memo-docker

A few useful commands for Docker

Build container from Dockerfile

docker build -t {desired_container_name} {path_to_dockerfile}

List available containers

docker ps

Stop and delete all containers

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

Local dev

docker run -p 80:80 -t -i -v /local/path:/container/path {container_name} /bin/bash

About

A few useful commands for Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published