How to deploy Dockerfile and application files to boot2docker

前端 未结 6 622
孤城傲影
孤城傲影 2021-02-01 14:16

I\'m just starting to learn Docker, and I\'m trying to get a simple setup with boot2docker on Windows. I could not find in any tutorial or samples online how to make my project

6条回答
  •  时光取名叫无心
    2021-02-01 14:44

    I use vagrant with this box : https://vagrantcloud.com/yungsang/boot2docker

    and I changed Vagrant file to use (auto-)rsync on Windows :

      rsync_args = ["--verbose", "--archive", "--delete", "-z"]
      rsync_auto = true
      rsync_exclude = [".vagrant/"]
      config.vm.synced_folder ".", "/vagrant", rsync__args: rsync_args, rsync__exclude: rsync_exclude, rsync__auto: rsync_auto, type: "rsync"
    

提交回复
热议问题