Usermod A G Www-data Vagrant
Posted By admin On 12.10.19# Set up sudo echo%vagrant ALL=NOPASSWD:ALL /etc/sudoers.d/vagrant chmod 0440 /etc/sudoers.d/vagrant # Setup sudo to allow no-password sudo for 'sudo' usermod -a -G sudo vagrant or maybe there are even better?
# -.- mode: ruby -.-# vi: set ft=ruby:# All Vagrant configuration is done below. The '2' in Vagrant.configure# configures the configuration version (we support older styles for# backwards compatibility). Please don't change it unless you know what# you're doing.Vagrant.configure( 2) do config # The most common configuration options are documented and commented below.# For a complete reference, please see the online documentation at# Every Vagrant development environment requires a box. You can search for# boxes at = 'ubuntu/trusty64 'config.vm.network:privatenetwork, ip: '192.168.2.21 '#Forwards port to host machineconfig.vm.network 'forwardedport ', guest: 8080, host: 8080, autocorrect: trueconfig.vm.syncedfolder './sources ', '/sources '$install =.
Configure ( 2 ) do config config. Define 'dev1' do dev dev. Provider 'docker' do d d. Firefox save and quit.

Usermod A G Sudo
Vagrantvagrantfile = './vagrant-ubuntu/Vagrantfile'd. Builddir = '.'
Usermod G Group
Name = 'dev1'enddev. Username = 'docker'endconfig. Define 'dev2' do dev dev. Provider 'docker' do d d.
Vagrantvagrantfile = './vagrant-ubuntu/Vagrantfile'd. Builddir = '.' Name = 'dev2'd. Link ( 'dev1:dev1' )enddev.
Usermod G Examples
Username = 'docker'endend□ 複数コンテナを一括起動. # -.- mode: ruby -.-# vi: set ft=ruby:$script =.