1. Update Guacamole images
sudo docker pull glyptodon/guacd:latest
sudo docker pull glyptodon/guacamole:latest
2. Remove old container
sudo docker rm some-guacd
sudo docker rm some-guacamole
3. Recreate new Guacamole container
sudo docker run --name some-guacd -d -p 4822:4822 glyptodon/guacd
sudo 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 glyptodon/guacamole
4. Copy the SQL update script from Guacamole container to host
docker cp some-guacamole:/opt/guacamole/mysql/schema/upgrade/upgrade-pre-0.9.8.sql .
5. Copy it into Docker MySQL container directory /tmp/
docker cp upgrade-pre-0.9.8.sql some-mysql:/tmp
6. Go into Docker MySQL container and import it into database
sudo docker exec -it some-mysql bash
mysql -u root -p guacamole_db < /tmp/upgrade-pre-0.9.8.sql
Weitere Informationen für die Installation: guac-dev.org/doc/
Schreibe einen Kommentar