How to create your own Docker image(PostgreSQL,DBeaver) and share to DockerHub

preview_player
Показать описание
In this video, I want to share with you how to use Docker for creating a development/experiment environment.
You may use Docker to try a new shell, or new application, and ensure that you have the same environment as your team.
This video will cover the pull, run, exec, build, tag, push, and more.

Timestamps
0:00 Introduction
1:40 docker run to pull and run your image
2:10 docker exec -it to access container
2:50 create your own Dockerfile and add your data to an image
5:00 build your first docker image using Dockerfile
7:20 add update and package htop, curl to your image
8:00 a failed due to no environment variable setup
8:30 check the updated image
9:00 sign up for the DockerHub
10:13 login to DockerHub and push your image to the repository
11:40 remove all local images and try to pull our image
13:00 add ENV environment to the Dockerfile
13:43 now we can run it with VSCODE right click
14:50 Dbeaver connects to our container database
15:30 Add script to create data

#Docker #Coding #Programming #Linux
Рекомендации по теме