docker network create passbolt_network
docker volume create mariadb_passbolt_data
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> \
How to mount local image [src]
The problem is that the .img files are not images of a partition, but of a whole disk. That means they start with a boot loader and a partition table. You have to find out the offset of the partition and mount it with the offset option of mount. If you do a
fdisk -l /path/to/image
how to mount ntfs drive with correct permission [src]
Find the UUID
of your device:
$ blkid
/dev/sda1: LABEL="xxx" UUID="yyyyyyyy" TYPE="vfat" PARTUUID="kkkkkk"
/dev/sdb1: LABEL="xxx" UUID="<selected-device-uuid>" TYPE="ntfs" PTTYPE="dos" PARTUUID="uuuuuuuu"
Find the uid
and gid
of your current user:
$ useradd -m -d /home/git -s /bin/bash git
$ sudo passwd git
$ su - git
$ whoami
git
$ pwd
Download GitBash from here, run git-bash.exe
that is a custom MINGW64 for git and run the same commands as linux. Replace
every *.local
name with the corresponding IP address.
To generate a public and private keys under ~/.ssh
run the following command:
NewerOlder