Telegram- 👇 😉
-
. WIKIMERIONET
Merion Mertics , ,

CRM

3

Docker . , , .

Docker, .

     Docker

, Docker .


Docker

c - . , Docker.

. MySQL Docker, , Docker .

1.

, , :

sudo docker images

( ). , mysql 5.7.31. MySQL Docker, DockerHub, , - 8.0.21.

sudo docker images

, , , .

, , docker images | grep [docker_image], .

2.

docker pull:

docker pull [docker_image]

Docker . , :latest.

, mysql, :

docker pull mysql/mysql-server:latest

3.

, Docker, . .

1. , :

docker ps

mysql / mysql-server: 5.7.31.

docker ps

2. , :

docker stop [container_id]

docker rm [container_id]	

3. docker run , Docker:

docker run --name=[container_name] [options] [docker_image]

, Docker, , . -v, .

, MySQL, :

docker run --name=mysql --restart=always -e MYSQL_ROOT_PASSWORD=mypassword -v /path/to/directory:/var/lib/mysql -d mysql	

4. , Docker, :

sudo docker ps
sudo docker ps

, Docker.