Comments (7)
I think packer build --only=virtualbox-iso windows_2016_docker.json
is what I was looking for. Thanks for your work on this.
from docker-windows-box.
@jmbeach Thanks for the suggestion. I don't have experience with VMware Player for the last three years.
The docker-windows-box
Vagrant environment can be used with three Hypervisors
- VMware Fusion (Pro) (on Mac) or VMware Workstation (Pro) (on Windows or Linux)
- VirtualBox on Mac/Windows/Linux
- Hyper-V on Windows 10
The Vagrant basebox can be built with Packer for VMware/VirtualBox or with a patched Packer version for Hyper-V as there is a Pull Request in progress to bring that into upstream Packer.
from docker-windows-box.
How would you run packer for VirtualBox? I'm not very familiar with any of this. I want to start playing with Docker, but don't have anything but my laptop to play with so I figured I'd try to run Windows Server 2016 on a virtual machine and play docker images from it.
Either way. I was actually trying to run packer build
assuming it was compatible with VMware Player and it gave me errors about not having the vmrun utility and the vmware-vdiskmanager utility, now the build appears to be working after I installed them.
from docker-windows-box.
@jmbeach ok, have a look at this blog post https://stefanscherer.github.io/setup-local-windows-2016-tp5-docker-vm/
I'm used to the command line, especially a PowerShell terminal. So these would be the steps I would do on a Windows machine that does not have the tools I need.
Step 1: Install Chocolatey - https://chocolatey.org
iex (wget 'https://chocolatey.org/install.ps1' -UseBasicParsing)
Step 2: Install Packer
choco install -y packer
Step 3: Install Vagrant (I suggest version 1.8.1 at the moment)
choco install -y vagrant -version 1.8.1
Step 4: Install VirtualBox 5.0.x (I think 5.1 does not work with Vagrant 1.8.1) if not already installed
choco install -y virtualbox -version 5.0.24.108355
I'll try to figure out if some TP5 Vagrant boxes can be provided via Atlas form Hashicorp https://atlas.hashicorp.com/boxes/search
This would simplify the tutorial removing the step 2 and of course the packer build
step of the blog post.
from docker-windows-box.
@jmbeach If you are afraid of such tools you might have a look at http://blog.couchbase.com/2016/april/windows-server-2016-virtualbox-docker and do the steps with your VMware Player. Might work as well.
from docker-windows-box.
Very good blog post. You should link it in the readme
from docker-windows-box.
The packer build still failed for me, but not until pretty far into the setup. I ran it in debug and got it to at least install updates before I quit packer and now I'm packaging the box manually with vagrant. Either way, I think I'll be set if I just use your packer config manually. Feel free to close this
from docker-windows-box.
Related Issues (20)
- I followed the instructions to end up with a vmware box, which I added with vagrant, and can see in list, but can't bring up machine HOT 1
- docker-machine cant on windows server? HOT 4
- Packer build HOT 11
- Waiting for WinRM to become available HOT 10
- VMWare-iso with packer build fails HOT 10
- Update virtualbox fails HOT 7
- vagrant up? HOT 4
- Modify packer to use iso file HOT 4
- Question about overlay network HOT 3
- Command seen stuck when tried to execute -H tcp://containerIP:2375 between Nodes HOT 11
- Kubernetes? HOT 5
- different vagrantfile HOT 5
- Not really an issue - But missing item in pre-req HOT 2
- Problem using your docker-windows-box HOT 2
- Blank black screen with cmd only HOT 6
- [TODO] vmware-iso: Could not find networking conf file: /Library/Preferences/VMware Fusion/networking HOT 7
- Docker Daemon ExecStart initial value has changed? HOT 2
- Licensing
- Error upon vagrant up Mac OSX HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-windows-box.