diff --git a/Docker-app-implementation.md b/Docker-app-implementation.md index 32f9e81..81a60bf 100644 --- a/Docker-app-implementation.md +++ b/Docker-app-implementation.md @@ -61,7 +61,7 @@ Here's what happens when the BOINC client runs a Docker app: ### Unix -[image](images/docker_unix.jpg) +[[images/docker_unix.jpg]] The BOINC client runs ```docker_wrapper``` (the app version's main program) @@ -69,7 +69,7 @@ and communicates with it (pause/resume etc.) through shared memory, as with all BOINC apps. ```docker_wrapper``` interacts with Docker -by running the Docker CLI program (using popen()). +by running the Docker CLI program (using ```popen()```). It issues commands to list images, build an image, and start a container, and monitor the container. @@ -77,7 +77,7 @@ and start a container, and monitor the container. input files into the container, and output files out of the container. It does this by either -* using the 'docker cp' command. +* using the ```docker cp``` command. * mounting the slot and project directories in the container, in which case the logic in the container is responsible for finding the files @@ -88,7 +88,7 @@ This is controlled by the job config file, ```job.toml```. ### Windows -[image](images/docker_win.jpg) +[[images/docker_win.jpg]] Based on info in ```init_data.xml```, ```docker_wrapper``` picks a WSL distro. @@ -101,7 +101,7 @@ which run in the WSL container. These commands build images, run Docker containers, etc. The WSL container shares the host filesystem. -The shell's current directory is that of docker_wrapper, +The shell's current directory is that of ```docker_wrapper```, namely the job's slot directory. Moving files in/out of the Docker container is done the same as in the Unix case.