Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
docker-machine and docker-compose
$(parkingspot -memory 2000 -cpu 6 -max-bid 0.50) docker-machine create --driver amazonec2 \
--amazonec2-request-spot-instance \
--amazonec2-region "${PARKINGSPOT_REGION}" \
--amazonec2-spot-price "${PARKINGSPOT_BID}" \
--amazonec2-instance-type "${PARKINGSPOT_INSTANCE_TYPE}" \
# If you want to use Docker Compose
eval $(docker-machine env parkingspot-worker) && docker-compose build && docker-compose up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.