Here are the details to my setup: On MacBook Pro running macOS Sierra version 10.12.2. Virtualbox: 5.1.12r112440 Vagrant: Vagrant 1.9.1
To recreate issue I am having: `git clone https://github.com/coreos/coreos-vagrant` `coreos-vagrant` Comment out line 127 and 128 of the Vagrantfile and add: config.vm.network "private_network", ip: "172.17.8.150" Uncomment line 132 to enable NFS for sharing the host machine into the coreos-vagrant VM. run: 'vagrant up' ssh in: 'vagrant ssh' the run `docker run -d -p 80:80 coreos/apache /usr/sbin/apache2ctl -D FOREGROUND` If you go to: http://172.17.8.150/, you'll see the page that says: "It works! This is the default web page for this server. The web server software is running but no content has been added, yet." The "home/core/share" is synced with my local directory on my MacBook Pro. Then if I run: `docker run -v /home/core/share:/var/www coreos/apache` I get error message: "docker: Error response from daemon: No command specified." This is pretty much as far as I've made it. On Saturday, December 31, 2016 at 3:04:52 PM UTC-8, Michael Chavez wrote: > > Hello CoreOS Dev Google Group, > > I am a super noob. > > I got CoreOS running on my Macbook using Vagrant. I am able to get the > Apache2 Ubuntu Default Page. What I want to do for example, is being able > to modify/replace the file at /var/www/html/index.html. Later I want to use > the technique to develop Node.js and WordPress apps locally and deploy to > remote webservers, ala "Cloud Native" style. > > I am able to have files shared from local directory on my Macbook to the > CoreOS by adding/uncommenting this from the Vagrant file: > config.vm.synced_folder ".", "/home/core/share", id: "core", :nfs => > true, :mount_options => ['nolock,vers=3,udp'] > That works in syncing the "share" folder inside CoreOS running inside of > Vagrant to my local directory on Macbook, but I can't figure out how to get > that to sync to the container inside of CoreOS running Ubuntu with Apache. > > I've been following these tutorials: > https://coreos.com/os/docs/latest/booting-on-vagrant.html > https://github.com/coreos/coreos-vagrant > https://coreos.com/os/docs/latest/getting-started-with-docker.html > https://docs.docker.com/engine/tutorials/dockervolumes (this is where > things don't work for me) > > I am going about this the right way? Should I just use Docker for Mac and > cut the CoreOS on Vagrant out (I don't want to necessarily do that)? > > Any help would be greatly appreciated! > > Thanks and happy new years! > > Cheers, > Michael >
