forklift icon indicating copy to clipboard operation
forklift copied to clipboard

Add Docker provider support for vagrant boxes

Open dkliban opened this issue 6 years ago • 3 comments

I love using Forklift with Pulplift. It would be even better if a developer could provision using the Docker provider for Vagrant.

Our previous development environment was configured to provision Docker backed boxes (containers). Here[0] is an example of our old Vagrantfile. It uses a Dockerfile[1] to spin up the container. Pulp developers using Macs have been using this Vagrantfile and Dockerfile to provision their environments. Lines 57 and 58 from the Dockerfile may not be needed when provisioning on Fedora. More docs on this backend can be found here[2].

[0] https://www.vagrantup.com/docs/docker/basics.html#dockerfiles [1] https://github.com/pulp/devel/blob/master/docker/Dockerfile [2] https://www.vagrantup.com/docs/docker/basics.html#dockerfiles

dkliban avatar Jan 17 '19 10:01 dkliban

Here is the old Vagrantfile https://github.com/pulp/devel/blob/master/Vagrantfile.example

CodeHeeler avatar Jan 17 '19 16:01 CodeHeeler

It probably means providing the right options according to https://www.vagrantup.com/docs/provisioning/docker.html similar to https://github.com/theforeman/forklift/blob/0e5c47900233684d97ee0fd8152ba40f1640880c/vagrant/lib/forklift/box_distributor.rb#L211-L243

ekohl avatar Jan 17 '19 17:01 ekohl

Will be fixed by -- https://github.com/theforeman/forklift/pull/907

ehelms avatar Feb 04 '19 13:02 ehelms

@dkliban What is the reason to close this issue?

Croydon avatar Sep 02 '22 06:09 Croydon