Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Schwartz benschw

View GitHub Profile
View docker.md

cd /etc/init vim docker.conf

replace /usr/bin/docker -d with this /usr/bin/docker -H 0.0.0.0:5555 -d so that we can connect through http api.

alias docker="docker -H 0.0.0.0:5555"
cd /var/lib/docker/containers

in the above locations you can find all the containers which are all executed

View JdbiIntegrationTest.java
public abstract class JdbiIntegrationTest {
private DBI dbi;
private Handle handle;
private Liquibase liquibase;
protected abstract DatabaseConfiguration getDatabaseConfiguration();