Editing files using editors in Docker with Vagrant (on Mac)

后端 未结 3 1161
生来不讨喜
生来不讨喜 2021-02-08 17:19

What is the best way for me to edit a file using sublime or other editors in Docker with Vagrant?

I\'m working on Mac OSX environment, and I\'ve followed the steps on D

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-08 18:15

    You have to mount the host volume into boot2docker vagrant vm first, and then, mount the vm volume into your container, more info at http://felipejfc.com/2014/08/29/vagrant_docker_sync_folder/

提交回复
热议问题