DEV Community

Discussion on: Crafting a better local Laravel dev environment with Docker

Collapse
 
naneri profile image
naneri

What does --rm option do?

Collapse
 
aschmelyun profile image
Andrew Schmelyun

It destroys the Docker container once it's use has finished up. Otherwise, it will remain active on the system until you bring it down.

Collapse
 
naneri profile image
naneri

Can the network part be removed in compose file for npm and composer? If those are destroyed anyways?