Skip to content

Instantly share code, notes, and snippets.

View vdemeester's full-sized avatar
👷‍♂️
Working from home

Vincent Demeester vdemeester

👷‍♂️
Working from home
View GitHub Profile
root@15fe1f26786a:/go/src/github.com/docker/libcompose# docker daemon --debug --host unix:///go/src/github.com/docker/libcompose/docker.sock --storage-driver vfs --pidfile ./docker.pid --userland-proxy=true
DEBU[0000] Warning: could not change group /go/src/github.com/docker/libcompose/docker.sock to docker: Group docker not found
DEBU[0000] Server created for HTTP on unix (/go/src/github.com/docker/libcompose/docker.sock)
DEBU[0000] Using default logging driver json-file
DEBU[0000] [graphdriver] trying provided driver "vfs"
DEBU[0000] Using graph driver vfs
INFO[0000] Graph migration to content-addressability took 0.00 seconds
DEBU[0000] Option DefaultDriver: bridge
DEBU[0000] Option DefaultNetwork: bridge
WARN[0000] Running modprobe bridge br_netfilter failed with message: , error: exec: "modprobe": executable file not found in $PATH
λ top &
[1] 4786
[1] + suspended (signal) top
~
λ kill -SIGUSR1 4786
~
λ ps aux | grep 4786
vincent 4786 0.0 0.0 36824 3524 pts/2 TN 11:46 0:00 top
vincent 4823 0.0 0.0 11244 2224 pts/2 SN+ 11:47 0:00 grep 4786
Step 26 : RUN git clone https://github.com/docker/docker-py.git /docker-py && cd /docker-py && git checkout -q $DOCKER_PY_COMMIT && pip install -r test-requi[11/11257]
t
---> Running in 33127390b8a4
Cloning into '/docker-py'...
Requirement already satisfied (use --upgrade to upgrade): mock==1.0.1 in /usr/lib/python2.7/dist-packages (from -r test-requirements.txt (line 1))
Downloading/unpacking pytest==2.7.2 (from -r test-requirements.txt (line 2))
Downloading/unpacking coverage==3.7.1 (from -r test-requirements.txt (line 3))
Running setup.py (path:/tmp/pip_build_root/coverage/setup.py) egg_info for package coverage
warning: no previously-included files matching '*.pyc' found anywhere in distribution
commit 93cd1936569f3d009b1208620e1deab39dc3c499
Author: Vincent Demeester <[email protected]>
Date: Sat Oct 17 23:08:25 2015 +0200
Use checker assert for docker_cli_daemon_test.go
Signed-off-by: Vincent Demeester <[email protected]>
diff --git a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_cli_daemon_test.go
index 6567809..856631f 100644
interlock:
image: ehazlett/interlock
command: --swarm-url 10.0.10.72:3375 --plugin haproxy start
ports:
- "80:80"
- "443:443"
website:
image: ehazlett/docker-demo
hostname: docker-training.com
ports:
ComboBoxJDK60.install(scene); // Setup the global focus listener
#!/bin/sh
./webserver&
WEBSERVER_PID=$!
go test authentication
kill $WEBSERVER_PID
FROM golang
RUN ["go", "get", "github.com/geraldstanje/web_app/webserver" ]
WORKDIR /go/src/github.com/geraldstanje/web_app/webserver
# Add directories and files
ADD templates/index.html /go/src/github.com/geraldstanje/web_app/webserver/templates/index.html
ADD templates/musicalbums.html /go/src/github.com/geraldstanje/web_app/webserver/templates/musicalbums.html
@vdemeester
vdemeester / test.go
Last active August 29, 2015 14:24
dockerCmd
dockerCmd(c, "Create container with ipc mode container should success with non running container",
"create", fmt.Sprintf("--ipc=container:%s", id), "busybox")
FROM digitallyseamless/nodejs-bower-grunt:0.12
MAINTAINER Vincent Demeester <[email protected]>
COPY package.json /data/
RUN npm install
COPY . /data/
WORKDIR /data
ENTRYPOINT ["grunt"]