Now i get the error on port 80 400 bad request The plain HTTP request was sent to HTTPS port
and on port 443: An error occurred during a connection to localhost:32771. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
I don’t know where to start looking to fix this problem.
Just to be in the same page I guess you executed the following:
(Assuming there are no other containers running which would change the ip address assign to mysql container and docker container I encourage you to check the ip address of the containers though):
$ docker run -e MYSQL_ROOT_PASSWORD=<your_root_password> \
-e MYSQL_DATABASE=passbolt \
-e MYSQL_USER=passbolt \
-e MYSQL_PASSWORD=P4ssb0lt \
--name mysql \
mysql
You can obtain the mysql container ip address:
$ docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mysql
172.17.0.2
and then start passbolt:
$ docker run -e DB_HOST=172.17.0.2 --name passbolt passbolt/passbolt
Once the container is started on the terminal you should see on the terminal: Passbolt installation success! Enjoy! ☮
After this process it would be good to add passbolt.local to /etc/hosts pointing to the ip address of the passbolt container: