It is not typing any korean might be in ubuntu of the language problem on utf8.
This is contents only my log how to get checking docker default.
It's terrible to set the python version virutal environment up. this docker system would rather that?
This is default configuration method and summary; Docker Configurations
* Below links are almost entry point: https://docs.docker.com/language/python/build-images/
Contents.
1. Install Docker
- The docker document site shows to install the docker-gui at first, but it should install the docker-cli in middle contents;
( docker-install[gui] - link , docker-cert[ca] - link , docker-install[cli] - link )
2. Docker run: image 'hello world'
- It is very simple command like 'docker run docker-hello' for getting check or verify the docker-package.
3. Docker Image Pull: Python3.6 slim buster - (list)link
- The docker document shows python 3.8, but trying to version of 3.6; python 3.6 image link
4. Docker Image Control: Flask 'hello world'
- Build, Tag - link
- Run, Stop, Remove, View List - link
- Finally command: docker run -d -p 8000:5000 --name rest-server python_image
5. Docker Image Control: Mysql 'hello world', link
- To meet some error; mysql-connector (had been installed by pip3 (python3.6))
- To reset python version to 3.8 from 3.6, and to restart generating from 'python3 -m venv .venv' for the first time.
- Getting Experience; docker network, volume and compose by yaml file; docker-compose.dev.yml
6. CI/CD: GitHub actions - link
- Create workflow yaml file
7. Deploy: Azure, ECS, EKS - link
- It would refer any page to be meet a environment of the infras, or the IaaS provider would provide us more information.
Notes.
1. Hope to use the docker command line without 'sudo ...' like 'sudo docker ...'
$ sudo usermod -aG docker $USER
- To run docker command without 'sudo' after logout, or 'sudo su -l $USER'