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.


First of all, you must install docker on your computer.

You can download Docker Desktop on the link below.

And next, you also have to sign up Docker Hub website.

Finally, launch Docker Desktop and sign in using your Docker Hub account.


Build docker image

We are using Docker Buildkit to speed up build.

You can build docker container image using below command.

$ DOCKER_BUILDKIT=1 docker build -t <dockerhub_username>/<dockerhub_repo_name>:latest .

Run on your local computer

You can run StickyBoard on your local computer using docker image created by former step.

$ docker run -p 3000:3000 <dockerhub_username>/<dockerhub_repo_name>:latest

Push docker image to Docker Hub

If you want to share your docker image, you can push the image to DockerHub.

$ docker push <dockerhub_username>/<dockerhub_repo_name>:latest

Last updated