Skip to content

svarunan/easy-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

# Docker file  - Dockerfile
This will have a simple Docker file and you can build it using
docker build -t <imagename> <path>

# To run a container
docker run --name <container name> -d -p hostport:containerport -p hostport:containerport <image id>

# Basic commands
docker stop container-name

docker start container-name

# Last created
docker ps -l

# docker size
docker ps -s

# List all containers
docker ps -a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published