import directory using docker toolbox

Asked by Florian Storz

Hi,

I'm very new to queXF. I have installed queXF via the docker toolbox on my Windows 10 computer.
I'm failing to import directory with the forms. The problem is just I don't know which directory to put in using this virtual machine.

If I chose the directory where the file is stored on my windows system(e.g. C:\Users\fluml\Documents\questionaires), I get this error:

Warning: scandir(\\C:\Users\fluml\Documents\questionaires): failed to open dir: No such file or directory in /var/www/html/functions/functions.import.php on line 1368

Warning: scandir(): (errno 2): No such file or directory in /var/www/html/functions/functions.import.php on line 1368

Warning: Invalid argument supplied for foreach() in /var/www/html/functions/functions.import.php on line 1368

How do I tell queXF to access the according directory?

Thank you so much!

Question information

Language:
English Edit question
Status:
Answered
For:
queXF Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Florian Storz (flo96) said :
#1

So, I think I have gotten closer to the solution, but now I am facing the issue of not being able to launch queXF again.

I found these instructions (https://github.com/adamzammit/quexf-docker) and I figured that I launch queXF by putting the following comand into the docker toolbox quickstart:

$ docker run --name some-quexf --link some-mysql:mysql -d -v /C:\Users\fluml\Documents\questionaires:/forms acspri/quexf

however, this returns following error:

C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: invalid mode: /forms.
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.

How do I start queXF using Docker Toolbox. I could not find any documentation for that. I hope you could point me into the right direction...

Thank you so much

Revision history for this message
Adam Zammit (adamzammit) said :
#2

Hi Florian,

Regarding your first message:

Docker runs queXF inside a container, so it does not have direct access to the filesystem on your local computer. The most straightforward way to get your forms on the system is to use the "upload" function to upload files directly.

Regarding launching queXF again - please follow these steps:

1. Run the "Docker Quickstart Terminal" from the Desktop or Start Menu

2. Once a terminal appears ($ sign waiting for input), type in (press enter after each line):

    cd
    cd quexf-docker
    docker-compose up -d

Adam

Can you help with this problem?

Provide an answer of your own, or ask Florian Storz for more information if necessary.

To post a message you must log in.