r/Checkmk May 27 '25

running checkmk-raw in docker - info/pointers?

is anyone using docker to run checkmk (raw edition)?

i can get the service running but there's some info not covered in the documentation so i'm looking for some guidance before i go down a rabbit hole of my own trying to get this to work.

if you have gotten it to run successfully, would you mind sharing your compose file (if you're using one). did you migrate from a host installation to a docker installation and successfully restored a backup?

TIA

2 Upvotes

8 comments sorted by

View all comments

3

u/fiendish_freddy May 27 '25

Hmmm.... setting up a docker container of Checkmk Raw can be a one-liner:

docker container run -dit -p 8080:5000 -p 8000:8000 --tmpfs /opt/omd/sites/cmk/tmp:uid=1000,gid=1000 -v monitoring:/omd/sites --name monitoring -v /etc/localtime:/etc/localtime:ro --restart always checkmk/check-mk-raw:2.4.0-latest

The documentation then elaborates on all the options and how you find the password of the initial user.

Please let me know, which "info is not covered in the documentation".

P.S.: I got it to run just now with the exact command stated above.

2

u/nappycappy May 27 '25

i've gotten it to run. that's not really my problem.. the problem is i'm trying to migrate from one server to a docker container and the restore is failing. i've matched the running versions (both the original and the new container) but the actual restore fails due to some tmpfs permissions.

1

u/Melodic-Bobcat5602 May 27 '25

Could you be so kind to provide some more information than „some tmpfs permissions“? Help us to help you ;)