Skip to content

Instantly share code, notes, and snippets.

@ogiovannyoliveira
Last active July 5, 2020 18:30
Show Gist options
  • Save ogiovannyoliveira/1238d664e51af8d1a98ed3e60a2051a7 to your computer and use it in GitHub Desktop.
Save ogiovannyoliveira/1238d664e51af8d1a98ed3e60a2051a7 to your computer and use it in GitHub Desktop.
Docker command for up a container without use the cache and in detached mode
sudo docker-compose -f docker-compose.yml build --no-cache --force-rm
&& sudo docker-compose -f docker-compose.yml up -d
&& sudo docker image prune -a -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment