Vagrant - Network

Card Puncher Data Processing

About

Networking configuration

List

Port forwarding

config.vm.network :forwarded_port, guest: 80, host: 4567

Command

Reload

vagrant up # if the machine is not running
vagrant reload # if the machine is running

Vagrantfile Example

Vagrant - Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/precise64"
  config.vm.network :forwarded_port, guest: 80, host: 4567
end

Documentation / Reference







Share this page:
Follow us:
Task Runner