zrhoffman commented on PR #8041:
URL: https://github.com/apache/trafficcontrol/pull/8041#issuecomment-2219874852

   `docker create` won't do anything if the container already exists, and 
`docker start` reuses an existing container to run the `rpm --eval %_arch` 
command.
   
   The Makefile used to have `docker run` without `--rm`, but some users were 
running into issues (#7301), so `--rm` was added to `docker run` in #7389.
   
   Without the `--rm`, they would be about the same speed, but with the `--rm`, 
`docker create` + `docker start` is much faster (after the first time `docker 
create` is run).
   
   To see the speed difference, try using tab completion by typing `make 
traffic_o` into the terminal in the CDN in a Box directory, then pressing 
`<tab>` twice.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to