Adding Standard Docker Options to Incredibuild docker run Command

You can use standard options of the docker run command, as part of the Incredibuild container creation docker run command. 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:

Copy
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