Skip to content

Commit

Permalink
[Test] Add docker daemon start in test base image (kubeflow#3053)
Browse files Browse the repository at this point in the history
* Add Dockerfile for KFP e2e test

This commit adds Dockerfile for our e2e test by extending kubekins
image.

* Add e2e test base image

* Add README.md

* Fix README.md code block inline issue

* Fix README.md code align issue

* Fix README.md code align issue

* Fix link and docker build tag version

* Update test/images/README.md

Co-Authored-By: Jiaxiao Zheng <jxzheng@google.com>

* Fix image tag

* Fix build failure

* Fix build failure

* Add docker daemon start config on test base image

Co-authored-by: Jiaxiao Zheng <jxzheng@google.com>
  • Loading branch information
2 people authored and Jeffwan committed Dec 9, 2020
1 parent 597711b commit 2be8c06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ FROM gcr.io/k8s-testimages/kubekins-e2e:v20200204-8eefa86-master
# install sudo to enable docker command on mkp deployment:
# https://github.com/kubeflow/pipelines/blob/master/test/deploy-pipeline-mkp-cli.sh#L64
RUN apt-get update && \
apt-get -y install sudo
apt-get -y install sudo

# start docker daemon
RUN service docker stop && \
nohup docker daemon -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock &

0 comments on commit 2be8c06

Please sign in to comment.