![]() ![]() = > default: Box 'ubuntu/focal64' could not be found. PS C:\Vagrant_work > vagrant up Bringing machine 'default' up with 'virtualbox' provider. # config.vm.provision "shell", inline: <<-SHELL # documentation for more information about their specific syntax and use. # Ansible, Chef, Docker, Puppet and Salt are also available. # Enable provisioning with a shell script. ![]() # View the documentation for the provider you are using for more # Customize the amount of memory on the VM: # Display the VirtualBox GUI when booting the machine # config.vm.provider "virtualbox" do |vb| # Provider-specific configuration so you can fine-tune various # config.vm.synced_folder "./data", "/vagrant_data" # argument is a set of non-required options. # the path on the guest to mount the folder. # the path on the host to the actual folder. ![]() # Share an additional folder to the guest VM. ![]() # Bridged networks make the machine appear as another physical device on # Create a public network, which generally matched to bridged network. # Create a private network, which allows host-only access to the machine # within the machine from a port on the host machine and only allow access # config.vm.network "forwarded_port", guest: 80, host: 8080 # NOTE: This will enable public access to the opened port # accessing "localhost:8080" will access port 80 on the guest machine. # within the machine from a port on the host machine. # Create a forwarded port mapping which allows access to a specific port # boxes will only be checked for updates when the user runs # Every Vagrant development environment requires a box. # For a complete reference, please see the online documentation at # The most common configuration options are documented and commented below. Please don't change it unless you know what # configures the configuration version (we support older styles for # All Vagrant configuration is done below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |