You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run an ephemereal container and save log to file
209
213
```
210
214
docker container run -i --rm go-mssql-runner-imagename start -u someuser -p somepass -s someserverip -d somedbname -c someconfigfile.json --logformat JSON 2>&1 | tee -a log.txt
@@ -217,14 +221,15 @@ docker container run -i --rm go-mssql-runner-imagename start -u someuser -p some
217
221
* Get detailed account of what ran using the different log level in the -l flag of start command.
218
222
* Save the screen output to a text file by specifiing the --logfile flag of the start command.
219
223
* Use the JSON option on the --logformat flag to outout the log in JSON format and make it easy to parse.
220
-
* Although scripts are run sequentially, concurrent operation can be accomplished via scripting or cli techniques. Separate operations that can be run concurrently into their own projectsFor example in Bash, commands can be run in parallel using '&':
221
-
* Build Docker images to encapsulate versions of your project. For example, create an image for dev/test and another image for production.
222
-
* Docker containers can be run repeatedly. Command parameters need not be specified each time. Just run "docker start <containerName>" to rerun projects.
223
-
224
+
* Although scripts are run sequentially, concurrent operation can be accomplished via scripting or cli techniques. Separate operations that can be run concurrently into their own projects. For example in Bash, commands can be run in parallel using '&':
224
225
225
226
```
226
227
$ command1 & command2
227
228
```
229
+
* Build Docker images to encapsulate versions of your project. For example, create an image for dev/test and another image for production.
230
+
* Docker containers can be run repeatedly. Command parameters need not be specified each time. Just run "docker start ContainerName" to rerun projects.
0 commit comments