Skip to content

filipe11402/demo-docker-core

Repository files navigation

Docker Demo Project

Setup Demo Project

Clone Repository

git clone -b main https://github.com/filipe11402/products-core.git

Publish the App in release configuration

dotnet publish -c release

Create the Docker image

docker build -t image-name-desired -f Dockerfile

Create Docker image instance(Container)

docker create -p 6000:80 --name docker-container-image docker-image-name

Run Docker container

docker container start docker-container-name

Stop Docker container

docker container stop docker-container-name

Documentation

Docker Registry

Dockerfile

References

Changelog