Hands-On DevOps with Vagrant
上QQ阅读APP看书,第一时间看更新

Options/flags

There are three flags for this command:

  • --guest [INSERT VALUE]: Outputs specific port information when the first parameter supplied is the port available on the guest machine. It will return the host-mapped port. This command can be useful for certain network-level debugging or testing.
  • --machine-readable: Returns/displays a more machine-readable output.
  • -h/--help: Prints the help screen for this command.

An example is the vagrant port --machine-readable command.