New to Docker, where to start?
-
Hey folks,
I am interested in Docker, on Windows Server 2016.
To date, I have done a few things. Mainly,
- Setup a lab VM on one of my hosts. (The VM is: Windows Server Standard 2016, 100 GB RAM, 250GB SSD)
- Setup Docker.
- I'm able to get images from the Hub. For example 'microsoft/windowsservercore'
- share files between container and host.
- I can start containers based on the image, stop them, remove images... create new images.
(So, thats probably the basic stuff working).
Where next? I'm going through a lot of courses on Pluralsight, but any other suggestions?For example, I want to setup a service on a container. The service uses .NET 3.5. The 'windowsservercore' container doesnt look to support .NET framework... so, where next? I've tried the microsoft/dotnet-framework container, but i'm unable to attach powershell to the container...
My end goal is to be able to spin up hundreds of these containers each running the service.
Best,
Jim -
Although, i'm now reading 'windowsservercore' can run .Net framework Core by using a dockerfile...
Where to start on dockerfile? I will take a look on Pluralsight. -
So i've pulled 'microsoft/dontnet-framework' which is supposed to be the container that has .NET3.5 enabled (I think). That is up and running and I can attach to it. Woop.
-
Ok, so... I have a container running .Net 3.5 framework. Plus, the container has my installation powershell scripts.
What I need to do now is add two persistent environment variables and a system path to the container image...Any pointers?
-
Im able to add the env var in PS as below:
$env:CA_HOME = "C:\Categoriser\CAE"
That works. Though, its not persistent.
I stop the container. Create a new image based on that container, run the new image... and no env vars.
Any ideas to make that persist?
-
@jimmy9008 said in New to Docker, where to start?:
Im able to add the env var in PS as below:
$env:CA_HOME = "C:\Categoriser\CAE"
That works. Though, its not persistent.
I stop the container. Create a new image based on that container, run the new image... and no env vars.
Any ideas to make that persist?
Sorry, not running docker anywhere yet as an admin.
-
Appreciated, perhaps somebody else will know
I will figure it out eventually if not.
-
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
-
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
-
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
I think your biggest challenge will be just how new Docker is on Windows. I tend to type docket instead of Docker. We talked about Docker at MangoCon 2017
-
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
I think your biggest challenge will be just how new Docker is on Windows. I tend to type docket instead of Docker. We talked about Docker at MangoCon 2017
What particular area was discussed?
-
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
I think your biggest challenge will be just how new Docker is on Windows. I tend to type docket instead of Docker. We talked about Docker at MangoCon 2017
What particular area was discussed?
Very general, but looking at how Docker and LXC differed in technology and intent.
-
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
I think your biggest challenge will be just how new Docker is on Windows. I tend to type docket instead of Docker. We talked about Docker at MangoCon 2017
What particular area was discussed?
Very general, but looking at how Docker and LXC differed in technology and intent.
Yep, cant say i've heard of LXC.
-
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
I think your biggest challenge will be just how new Docker is on Windows. I tend to type docket instead of Docker. We talked about Docker at MangoCon 2017
What particular area was discussed?
Very general, but looking at how Docker and LXC differed in technology and intent.
Yep, cant say i've heard of LXC.
LOL, LXC is the big container leader. Docker is just tacked onto it. Docker is LXC under the hood.
-
Lots of us use LXC, it's the container product for IT use mostly. Docker is more for developer use. Of course both can use both, but there are design intents and ecosystem assumptions.
-
With LXC, it's far easier to use (you can learn it in like five minutes tops) and you get a full log in, so you don't have to worry about how to deploy. You can carry over a lot of traditional IT knowledge. It feels more like traditional virtualization.
-
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
I think your biggest challenge will be just how new Docker is on Windows. I tend to type docket instead of Docker. We talked about Docker at MangoCon 2017
What particular area was discussed?
Very general, but looking at how Docker and LXC differed in technology and intent.
Yep, cant say i've heard of LXC.
LOL, LXC is the big container leader. Docker is just tacked onto it. Docker is LXC under the hood.
Not anymore. They dropped LXC around 2 years ago. They wrote their own library in Go called libcontainer.
-
@stacksofplates said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
@scottalanmiller said in New to Docker, where to start?:
@jimmy9008 said in New to Docker, where to start?:
I am interested in Docker, on Windows Server 2016.
Obvious question is... why? I don't mean that to sound like Docker is bad, but Docker is really not meant for IT, but rather for developers. You can use it in IT, but given that the obvious use cases aren't real strong, this doesn't give us a good guess as to what about it is interesting you and what you are looking to learn about it.
Its because its a cool technology which I am interested in. Do you know of any docker specific forums? Perhaps this will be more useful in that space...
I do keep typing 'dicker' rather than 'docker'. Its amusing.
I think your biggest challenge will be just how new Docker is on Windows. I tend to type docket instead of Docker. We talked about Docker at MangoCon 2017
What particular area was discussed?
Very general, but looking at how Docker and LXC differed in technology and intent.
Yep, cant say i've heard of LXC.
LOL, LXC is the big container leader. Docker is just tacked onto it. Docker is LXC under the hood.
Not anymore. They dropped LXC around 2 years ago. They wrote their own library in Go called libcontainer.
Had to to be able to port to Windows.