Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Xavier Fernández Salas xavier-fernandez

💭
I may be slow to respond.
Block or report user

Report or block xavier-fernandez

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
@sourcec0de
sourcec0de / docker-compose-coreos.sh
Created Nov 30, 2015
Install docker compose on coreos
View docker-compose-coreos.sh
sudo su -
mkdir -p /opt/bin
curl -L https://github.com/docker/compose/releases/download/1.5.1/docker-compose-`uname -s`-`uname -m` > /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose
@JeffBelback
JeffBelback / docker-destroy-all.sh
Last active Feb 16, 2020
Destroy all Docker Containers and Images
View docker-destroy-all.sh
#!/bin/bash
# Stop all containers
containers=`docker ps -a -q`
if [ -n "$containers" ] ; then
docker stop $containers
fi
# Delete all containers
containers=`docker ps -a -q`
if [ -n "$containers" ]; then
docker rm -f -v $containers
You can’t perform that action at this time.