vagrant is not recognized in the virtual environment

Asked 2 years ago, Updated 2 years ago, 102 views

I'm trying to build a virtual environment, but it doesn't work the way I wanted it to, so I tried to delete the virtual machine from scratch, but it doesn't seem to recognize it.

Does this mean that a virtual environment was not created in the first place?Also, what should I do to start over from here?

Enter a description of the image here

ubuntu vagrant virtualbox

2022-09-30 17:59

3 Answers

Because vagrant is a tool for building a virtual environment, it is basically a command that is executed on the host OS side.
However, the screen says vagrant at the prompt, so I think it doesn't work because I'm running the command in a virtual environment (guest OS).


2022-09-30 17:59

The details are different, but this is how the vagrant command always runs on the host OS side.

Vagrant behavior image


2022-09-30 17:59

Start over from scratch

  • Stop the affected VMs in the Virtual Box
  • Remove VMs using Virtual Box Administration.
  • Delete the directory where the vagrant file resides

Can we start all over again?
If you forget about the past and restart Windows, the guest operating system will stop, so you might want to forget that it happened.I'm just pressing the disk, so I don't think it's a problem to do it from the beginning.


2022-09-30 17:59

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.