This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docker [2022/11/11 01:13] – created vissie | docker [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:// | + | curl -fsSL https:// |
echo "deb [arch=amd64 signed-by=/ | echo "deb [arch=amd64 signed-by=/ | ||
- | apt-get update | + | |
- | apt-get install docker-ce docker-ce-cli containerd.io | + | |
- | docker | + | docker |
sudo systemctl status docker | sudo systemctl status docker | ||
| | ||
Line 12: | Line 12: | ||
docker run hello-world | docker run hello-world | ||
| | ||
+ | =====Mailpile===== | ||
+ | | ||
+ | |||
+ | docker run -d --name mailpile -p 33411:33411 rroemhild/ | ||
+ | Bind volume / | ||
+ | docker run -d --name mailpile -p 33411:33411 -v / | ||
+ | |||
+ | =====Rainloop===== | ||
+ | | ||
+ | |||
+ | |||
+ | =====MySQL===== | ||
+ | | ||
+ | |||
+ | 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. | ||
+ | |||
+ | |||
+ | I encountered this error while quickly trying to setup mysql. I would expect the documentation to get me up and running not: | ||
+ | force users to do more homework | ||
+ | I am thinking that the next step after starting the server could be an exec command to help users quickly get connected: | ||
+ | docker exec -it some-mysql mysql -p | ||
+ | Otherwise at a minimum for the client instance the wording could be improved | ||
+ | connected to the `some-network` Docker network | ||
+ | connected to `some-network`, | ||
+ | |||
+ | =====Guacamole===== | ||
+ | | ||
+ | Deploying Guacamole with MySQL authentication | ||
+ | docker run --name some-guacamole --link some-guacd: | ||
+ | --link some-mysql: | ||
+ | -e MYSQL_DATABASE=guacamole_db | ||
+ | -e MYSQL_USER=guacamole_user | ||
+ | -e MYSQL_PASSWORD=some_password \ | ||
+ | -d -p 8080:8080 guacamole/ | ||
+ | |||
+ | =====Ubuntu & LXDE===== | ||
+ | docker run -d --name Ubuntu_LXDE -p 5901:5900 centminmod/ | ||
| |