Created
December 17, 2016 15:36
-
-
Save JohannesBertens/1601d974c4d6534fe556311af15eb6bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo docker pull djbnjack/metricbeat | |
sudo docker rm mb --force | |
sudo docker run --restart=always -d --pid=host --volume=/proc:/hostfs/proc:ro --volume=/sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro --volume=/:/hostfs:ro --net=host --name=mb djbnjack/metricbeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Execute with: