Installing Passbolt on CentOS via Docker

#1

Hi Everyone,

I’m attempting to install Passbolt on a CentOS VM, but have run into an issue. I’m trying to run the command below, but am getting an error as it relates to the --mount source=mariadb_passbolt_data, target=/var/lib/mysql portion of the command. The exact error message is, invalid argument "source=mariadb_passbolt_data," for "--mount" flag: invalid field '' must be a key=value pair See 'docker run --help'.

I’m unsure of how to resolve this error message. Any help will be much appreciated. Thanks!

docker run -d --name mariadb --net passbolt_network \
             --mount source=mariadb_passbolt_data, \
             target=/var/lib/mysql \
             -e MYSQL_ROOT_PASSWORD=<root_password> \
             -e MYSQL_DATABASE=<mariadb_database> \
             -e MYSQL_USER=<mariadb_user> \
             -e MYSQL_PASSWORD=<mariadb_password> \
             mariadb
0 Likes

#2

Anyone have a solution or tip? I am not sure what I am doing wrong.

@diego I can’t reply since the post was closed due to inactivity, but I’ve tried removing the space and it does indeed work! Thank you! I’m a total noob at this so I figured it was something simple haha.

0 Likes

closed #3

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.

0 Likes

#4

Hi @ahelton

Sorry for this late reply I didn’t notice your post. I think the problem comes from a space between the source and the target:

--mount source=mariadb_passbolt_data,target=/var/lib/mysql \

Let me know if that works

0 Likes