-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Built-in execute command (a help command) User now has to specify WORKDIR or CMD to do real work
- Loading branch information
Alan Christie
committed
Apr 25, 2019
1 parent
f85c524
commit 4476368
Showing
7 changed files
with
108 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/bash | ||
|
||
echo | ||
echo "PIPELINES (RDKit)" | ||
echo "-----------------" | ||
echo "You have just run the built-in 'execute' command. Congratulations!" | ||
echo "" | ||
echo "In order to use this container productively you need to provide your own" | ||
echo "'execute' script or command and any corresponding data files." | ||
echo "" | ||
echo "You could mount a volume into this container that contains an executable" | ||
echo "file named 'execute', which contains the command you wish to run," | ||
echo "and also include any additional data files. When you run the container," | ||
echo "adjust the default container WORKDIR by using the docker '-w' option," | ||
echo "specifying the mounted path of the volume as its value. As an example," | ||
echo "if you've placed an 'execute' and its data in the current working" | ||
echo "directory you could run the container like this: -" | ||
echo "" | ||
echo " $ docker run --rm \\" | ||
echo " -v \$PWD:/squonk/work/docker \\" | ||
echo " -w=\"/squonk/work/docker\" \\" | ||
echo " $PIPELINE" | ||
echo "" | ||
echo "Alternatively you can run interactive commands by over-riding the" | ||
echo "built-in container 'CMD' (which is './execute'). To enter the" | ||
echo "container's shell (bash) using the default 'WORKDIR' you can run: -" | ||
echo "" | ||
echo " $ docker run --rm \\" | ||
echo " -it \\" | ||
echo " $PIPELINE \\" | ||
echo " bash" | ||
echo |