Created
June 23, 2023 17:24
-
-
Save spipm/97caacf7932647870cc4a64495665ebf to your computer and use it in GitHub Desktop.
Extract docker container image to folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker create --name extract_test repo.foo.bar/some_image:v1337 | |
mkdir container | |
docker export extract_test | tar xvf - -C container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment