StickyBoard
Search…
Dockerize
Creating StickyBoard docker container image

What is Dockerize?

Dockerize is the process of creating a container image so that it can be uploaded to Docker.

Pre-requisites

First of all, you must install docker on your computer.
You can download Docker Desktop on the link below.
Docker Desktop for Mac and Windows | Docker
Docker
And next, you also have to sign up Docker Hub website.
Docker Hub Container Image Library | App Containerization
Finally, launch Docker Desktop and sign in using your Docker Hub account.

Dockerize

Build docker image

We are using Docker Buildkit to speed up build.
You can build docker container image using below command.
1
$ DOCKER_BUILDKIT=1 docker build -t <dockerhub_username>/<dockerhub_repo_name>:latest .
Copied!

Run on your local computer

You can run StickyBoard on your local computer using docker image created by former step.
1
$ docker run -p 3000:3000 <dockerhub_username>/<dockerhub_repo_name>:latest
Copied!

Push docker image to Docker Hub

If you want to share your docker image, you can push the image to DockerHub.
1
$ docker push <dockerhub_username>/<dockerhub_repo_name>:latest
Copied!
Last modified 1yr ago