Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use standard options of the docker run command, as part of the IncrediBuild container creation docker run command.
Note: For a detailed list of available docker run options, see: https://docs.docker.com/engine/reference/run/

> To add a standard Docker option to IncrediBuild docker run command: 

  • In IncrediBuild container creation command, add the standard Docker option BETWEEN the docker run command and the specified IncrediBuild image.

For example, if you want to automatically clean up the container and remove its file system when it exits, use the --rm command as follows:

Code Block
docker run --cpus 4 
-e Coordinator= IncrediBuild1 
-e CoordinatorPort=31104 
-e BuildServicePort=31105 
-e BuildHelperPort=31106 
--rm 
-it 
-p 31105:31105/tcp 
-p 31106-31109:31106-31109/tcp incredibuild:9.4.6

...