/etc/docker
for instance: /etc/docker
location and with the above names. If not, please adjust the commands below involving the certificate and keys./etc/docker/daemon.json
. Create this file if it doesn't exist. Copy the following into the file:"hosts".
/etc/systemd/system/docker.service.d/
and an override file called override.conf
(which is open on your terminal now). Copy and paste the following:docker.service
:override.conf
file has been loaded. factom_database
and factom_keys
. Please create these before joining the swarm:$HOME/.factom/m2
.docker info
)docker run -d --name "factomd" -v "factom_database:/root/.factom/m2" -v "factom_keys:/root/.factom/private" -p "8088:8088" -p "8090:8090" -p "8108:8108" -l "name=factomd" factominc/factomd:v6.5.2-alpine -startdelay=600 -faulttimeout=120 -config=/root/.factom/private/factomd.conf
--restart unless-stopped
docker ps
. factomd
container with docker stop factomd
and download the factomd.conf
file here. important.conf
file generated earlier you'll find the following three lines:factomd.conf
and save. Now place the config file in /var/lib/docker/volumes/factom_keys/_data
by running (if the file is where you're currently at):
sudo mv factomd.conf /var/lib/docker/volumes/factom_keys/_data/factomd.conf
factomd
container again with docker start factomd
. factominc/filebeat:m3-debug
, this is generally a good sign as it means the portainer system has successfully connected and started a container remotely. factomd:v6.5.2-alpine
version may have changed since the time of writing.