Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
pigdog
Apr 23, 2004

by Smythe

Walked posted:

So I'm starting to experiment with Docker in Server 2016 / Windows 10 AE; we're a development shop (I"m on the infrastructure/engineering side) and I see the potential for seriously helping out our development team in spinning up environments for testing/troubleshooting/development. Awesome.

I have some questions - Windows-centric (but likely have similar concepts on the Linux side).

- Is there a book someone can recommend that covers a lot of the conceptual broad strokes
There's a ton of presentations and other videos on official Docker Youtube channel, including a pretty solid tutorial series. Give it a try. The version it's talking about is somewhat old by now, a few things like networking have meanwhile changed for the simpler.

quote:

- For doing a build via dockerfile; when is that executed? e.g. I'm looking at a dockerfile that installs SQL server; does that get run when you build from the dockerfile, or when the container is run?
When you build. The CMD / ENTRYPOINT statements dictate what is being run (by default) when the container is run.

quote:

- Is there a recommended workflow for getting data into containers in a reliable way? I'm looking to have a container that pulls from a SQL server backup file; is this best done in the dockerfile, or elsewhere?
I believe most commonly you'd want to keep data out of the containers, and instead use volumes, which can be shared with the host, or other containers.

Adbot
ADBOT LOVES YOU

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply