User Tools

Site Tools


docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker [2022/11/11 02:11] – [MySQL] vissiedocker [2023/10/01 00:22] (current) – [Setup] vissie
Line 1: Line 1:
 =====Setup===== =====Setup=====
 Installing Docker on Debian 11 Installing Docker on Debian 11
-  sudo apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common +  sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common 
-  curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg+  curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
   echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list   echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
-  apt-get update +  sudo apt-get update 
-  apt-get install docker-ce docker-ce-cli containerd.io +  sudo apt-get install docker-ce docker-ce-cli containerd.io 
-  docker version+  docker --version
   sudo systemctl status docker   sudo systemctl status docker
      
Line 18: Line 18:
 Bind volume /root/.local/share/Mailpile and /root/.gnupg for persistent storage: Bind volume /root/.local/share/Mailpile and /root/.gnupg for persistent storage:
   docker run -d --name mailpile -p 33411:33411 -v /some/local/path:/root/.local/share/Mailpile -v /another/local/path:/root/.gnupg rroemhild/mailpile   docker run -d --name mailpile -p 33411:33411 -v /some/local/path:/root/.local/share/Mailpile -v /another/local/path:/root/.gnupg rroemhild/mailpile
 +
 +=====Rainloop=====
 + https://github.com/wernerfred/docker-rainloop
 +
  
 =====MySQL===== =====MySQL=====
 + https://hub.docker.com/_/mysql
 +
   docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag   docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag
 ... where some-mysql is the name you want to assign to your container, my-secret-pw is the password to be set for the MySQL root user and tag is the tag specifying the MySQL version you want. ... where some-mysql is the name you want to assign to your container, my-secret-pw is the password to be set for the MySQL root user and tag is the tag specifying the MySQL version you want.
Line 32: Line 38:
   connected to `some-network`, a [user-defined Docker network](https://docs.docker.com/network/network-tutorial-standalone/#use-user-defined-bridge-networks)).   connected to `some-network`, a [user-defined Docker network](https://docs.docker.com/network/network-tutorial-standalone/#use-user-defined-bridge-networks)).
  
 +=====Guacamole=====
 + https://hub.docker.com/r/guacamole/guacamole
 +Deploying Guacamole with MySQL authentication
 +  docker run --name some-guacamole --link some-guacd:guacd \
 +    --link some-mysql:mysql         \
 +    -e MYSQL_DATABASE=guacamole_db  \
 +    -e MYSQL_USER=guacamole_user    \
 +    -e MYSQL_PASSWORD=some_password \
 +    -d -p 8080:8080 guacamole/guacamole
  
- +=====Ubuntu & LXDE===== 
- +  docker run -d --name Ubuntu_LXDE -p 5901:5900 centminmod/docker-ubuntu-vnc-desktop 
- +  
docker.1668161478.txt.gz · Last modified: 2022/11/11 02:11 by vissie