Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

vagrant box with Docker, Docker Compose and Nginx

NotificationsYou must be signed in to change notification settings

dockito/devbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  • Start by cloning this repository inside aDevelopment folder where you keep all your projects;
  • Then go inside this new folder:cd Development\devbox;
  • Start the vagrant box:vagrant up;
  • Log in into your new box:vagrant ssh.

It will sync its parent folder (Development), making all your projects available inside the VM at the/vagrant folder.

You will have aCoreOS install withCompose (former Fig) and anHTTP Proxy.

Adding Disk Space to Your CoreOS Machine

https://coreos.com/docs/cluster-management/scaling/adding-disk-space/

Troubleshooting First Vagrant Up

In case occur some weird problem in the first vagrant up the following steps have usually solved the it:

# runs the provision manuallyvagrant provision# reloads the vm againvagrant reload

Custom provision

Since each developer has their own preferences for what should be automatically configured in the VM (e.g. initial access folder and custom alias). Including acustom-provision.sh inside devbox directory it will be provisioned by Vagrant.

Basic example:

# bash_profile on CoreOS is read-only on file system# due that we clone the original one and uses this new copyunlink /home/core/.bash_profilecp /usr/share/skel/.bash_profile /home/core/.bash_profile# configures bash profile to access the vagrant folder# after log into the vm through sshecho"cd /vagrant/bravi">> /home/core/.bash_profile

About

vagrant box with Docker, Docker Compose and Nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp