Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Support for CoreOS #730

Closed
2 tasks
kerneltime opened this issue Nov 12, 2016 · 4 comments
Closed
2 tasks

Support for CoreOS #730

kerneltime opened this issue Nov 12, 2016 · 4 comments

Comments

@kerneltime
Copy link
Contributor

This involves

  • publishing the plugin as docker images

  • document and/or automate as far as possible the deployment of plugin on core os.

@pdhamdhere
Copy link
Contributor

pdhamdhere commented Nov 18, 2016

Did following to use vSphere Docker Volume service on CoreOS.

  • Build vSphere Docker Volume Service container from latest release (Thanks to @kerneltime )
cat Dockerfile 
FROM ubuntu:16.04

RUN apt-get -y update && apt-get -y install rpm2cpio cpio 
ADD https://github.com/vmware/docker-volume-vsphere/releases/download/0.8.1/docker-volume-vsphere-0.8.1-1.x86_64.rpm /
RUN rpm2cpio docker-volume-vsphere-0.8.1-1.x86_64.rpm | cpio -idmv
CMD /usr/local/bin/docker-volume-vsphere -port 1019 -log_level=debug
docker build -t dvs -f Dockerfile .
  • Configure Docker to use shared mount: Create /etc/systemd/system/docker.service.d/slave-mount-flags.conf and add following
[Service]
MountFlags=shared
  • systemctl daemon-reload
  • systemctl restart docker
  • Launch vSphere Docker Volume Service Container
sudo docker run --restart=always --name dvs --privileged -d \
                            -v /var/run/docker/plugins/:/var/run/docker/plugins/ \
                            -v /run/docker/plugins/:/run/docker/plugins/ \
                            -v /var/run/docker.sock:/var/run/docker.sock \
                            -v /dev:/dev \
                            -v /mnt:/mnt:shared \
                            dvs    

*We may have to bind mount folders required for configuration & logging.

@kerneltime
Copy link
Contributor Author

kerneltime commented Nov 18, 2016

@kerneltime kerneltime modified the milestones: v1 GA, 0.9 Nov 23, 2016
@pdhamdhere pdhamdhere removed this from the v1 GA milestone Feb 1, 2017
@shuklanirdesh82 shuklanirdesh82 added this to the Future milestone Mar 2, 2017
@pdhamdhere
Copy link
Contributor

Will be fixed with #886

@shuklanirdesh82
Copy link
Contributor

closing as per #730 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants