Skip to content

Instantly share code, notes, and snippets.

shzaur

Block or report user

Report or block shzaur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shzaur
shzaur / gist:08340241d57a3b294b8f4cbcc8cca2b4
Created Feb 17, 2019
Save all images from a docker-compose.yml
View gist:08340241d57a3b294b8f4cbcc8cca2b4
#!/bin/bash
# https://gist.github.com/jcataluna/1dc2f31694a1c301ab34dac9ccb385ea#gistcomment-2222429
for img in $(docker-compose config | awk '{if ($1 == "image:") print $2;}'); do
images="$images $img"
done
docker save -o services.img $images
You can’t perform that action at this time.