강의

멘토링

로드맵

인프런 커뮤니티 질문&답변

KIM SO JUNG님의 프로필 이미지
KIM SO JUNG

작성한 질문수

시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script

2-1. 서버 구축

wsl2에서 Vagrant 사용법이 궁금합니다~

작성

·

502

0

@DESKTOP-9A9A9UT:~/VWS_vagrant_script$ vagrant up /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/util/which.rb:37: warning: Insecure world writable dir /mnt/c in PATH, mode 040777 Vagrant failed to initialize at a very early stage: Vagrant is unable to use the VirtualBox provider from the Windows Subsystem for Linux without access to the Windows environment. Enabling this access must be done with caution and an understanding of the implications. For more information on enabling Windows access and using VirtualBox from the Windows Subsystem for Linux, please refer to the Vagrant documentation: https://www.vagrantup.com/docs/other/wsl.html

 

안녕하세요 wsl2 ubuntu에서 작업하는데 vagrant 실행 에러가 계속 떠서 문의 드립니다

윈도우랑 ubuntu 둘 다 virtualBox 설치한 후

ubuntu에 vgrant 설치하고 vagrant up 명령어를 입력하니 위와 같은 에러가 뜨더라구요

에러로그에서 알려준 공식사이트 따로 해도 잘 이해 되지 않아서 구글링 후 아래 링크 보면서 다시 vagrant랑 virtualBox 설치 했습니다

https://blog.thenets.org/how-to-run-vagrant-on-wsl-2/

 

virtualbox_WSL2를 설치해도 같은 에러가 뜨더라구요😢

혹시 wsl2에서 vagrant사용법을 알려주실 수 있나요?

읽어주셔서 감사합니다!

 

 

퀴즈

What is the tool that helps manage virtual servers with code and assists with configuration automation when building a practice environment with VirtualBox?

Docker

Git

Vagrant

MariaDB

답변 1

1

안녕하세요 zeze님! 잘 읽었습니다! :)

 

리눅스 로컬에서 virtualbox와 vagrant 설치가 가능하기 때문에 
wsl2를 사용하여 windows에 virtualbox를 설치하고 
리눅스에서 vagrant로 windows의 virtualbox를 컨트롤하는 방법은 이 강좌의 범위를 많이 벗어나기 때문에 따로 알려드리기 어려울 것 같습니다. 
여유를 가지고 웹검색으로 찾아서 해보세요. 다양한 방법으로 시야를 넓혀나가는 모든 분들을 응원합니다. ;-)
KIM SO JUNG님의 프로필 이미지
KIM SO JUNG

작성한 질문수

질문하기