Skip to content

Instantly share code, notes, and snippets.

🐳
Docker ! Docker ! Docker !

Collabnix collabnix

🐳
Docker ! Docker ! Docker !
Block or report user

Report or block collabnix

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
@collabnix
collabnix / install-client-bundle.sh
Created Oct 19, 2018
Installing Docker Client Bundle for Docker Enterprise 2.0
View install-client-bundle.sh
#Download client certificates by using the REST API
#You can also download client bundles by using the UCP REST API. In this example, we use curl to make the web requests to the API, jq to parse the responses, and unzip to unpack the zip archive.
#To install these tools on an Ubuntu distribution, you can run:
sudo apt-get update && sudo apt-get install curl jq unzip
# Create an environment variable with the user security token
AUTHTOKEN=$(curl -sk -d '{"username":"<username>","password":"<password>"}' https://<ucp-ip>/auth/login | jq -r .auth_token)
@collabnix
collabnix / wordpress-deployment.yaml
Created Dec 15, 2017
A First Look at Kubernetes Integrated Docker for Mac 17.12 Platform
View wordpress-deployment.yaml
apiVersion: v1
kind: Service
metadata:
name: wordpress
labels:
app: wordpress
spec:
ports:
- port: 80
selector:
@collabnix
collabnix / mysql-deployment.yaml
Created Dec 15, 2017
A First Look at Kubernetes Integrated Docker For Mac Platform
View mysql-deployment.yaml
apiVersion: v1
kind: Service
metadata:
name: wordpress-mysql
labels:
app: wordpress
spec:
ports:
- port: 3306
selector:
@collabnix
collabnix / local-volume.yaml
Created Dec 15, 2017
A First Look at Kubernetes Integrated Docker For Mac Platform
View local-volume.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: local-pv-1
labels:
type: local
spec:
capacity:
storage: 20Gi
accessModes:
You can’t perform that action at this time.