Skip to content

Instantly share code, notes, and snippets.

@jt-nti
Created November 18, 2020 17:51
Show Gist options
  • Save jt-nti/a5ea9ae2f5fbb55313d1aafb26096c72 to your computer and use it in GitHub Desktop.
Save jt-nti/a5ea9ae2f5fbb55313d1aafb26096c72 to your computer and use it in GitHub Desktop.
Extract nginx config file from docker image
docker create --name nginx nginx
docker cp nginx:/etc/nginx/nginx.conf ./nginx.conf
docker rm -f nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment