Skip to content

mjpowersjr/ethereum-node

Repository files navigation

ethereum-node

Docker Tips

If you are using an external drive to store data, you may want to configure docker to wait for the drive before starting at system boot. This can be achieved with systemd by creating a file similar to the following template.

# list systemd mount targs
systemctl list-units --type=mount

# extend docker unit
mkdir -p /etc/systemd/system/docker.service.d

# create unit conf
sudo cat <<EOT >> /etc/systemd/system/docker.service.d/wait-for-mount.conf
[Unit]
Requires=media-my-external-drive.mount
After=media-my-external-drive.mount
EOT

# reload systemd config
systemctl daemon-reload
docker run --network=host --cap-add=NET_ADMIN docker.elastic.co/beats/packetbeat:7.8.0 setup -E setup.kibana.host=localhost:5601 -E output.elasticsearch.hosts=["localhost:9200"]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published