Skip to content

Instantly share code, notes, and snippets.

@nsnt
nsnt / docker-private-push.sh
Created August 19, 2016 10:44 — forked from Infra-Red/docker-private-push.sh
Push private docker hub images to Cloud Foundry
#!/bin/bash
if [ -z $3 ]; then
echo "Usage: $0 <app> <image> <start command>"
exit 1
fi
# Dockerhub details
echo "Login with your Docker ID."
echo -n "Username: "