Docker Community Forums

Share and learn in the Docker community.

Getting started with LimeSurvey Docker?


#1

Hi all ,
I am new to docker and would like to use this container:
hub.docker.com/r/martialblog/limesurvey/
I have installed Docker Desktop on Win10 and have managed to do

docker run hello-world
docker run -ti ubuntu /bin/bash
docker pull martialblog/limesurvey

Those 3 worked fine, and docker images returns

REPOSITORY               TAG                 IMAGE ID            CREATED             SIZE
martialblog/limesurvey   latest              deb9486f223c        6 hours ago         794MB
ubuntu                   latest              20bb25d32758        24 hours ago        87.5MB
hello-world              latest              fce289e99eb9        3 weeks ago         1.84kB 

I am now stuck here:

docker run martialblog/limesurvey

leads to

mysql: forward host lookup failed: Unknown host
Info: Waiting for database connection…
mysql: forward host lookup failed: Unknown host
Info: Waiting for database connection…
mysql: forward host lookup failed: Unknown host
Info: Waiting for database connection…
mysql: forward host lookup failed: Unknown host
Info: Waiting for database connection…

(repeating every few seconds)

The author notes “Using docker-compose the files in the repository will quickly startup a LimeSurvey instance” but I am unsure how to do that. I tried running docker-compose, but learned that it seems to need a docker-compose.yml locally in the Windows file system, whereas the “docker pull martialblog/limesurvey” which I did seems to have put everything into the virtual hard disk used by the Linux VM.

Is there some quick start guide for newbies like me? I was a bit overwhelmed by all the documentation and wasn’t sure where to start… Thanks so much for any help!