Change Docker Image Location on Windows

By default Docker sets up MobyLinuxVM and downloads and installs docker image on your C:\ drive. For most people this is not ideal, as this is our main application drive and can be limited in space. Especially if you are using Docker on a laptop with a small hard drive. So you will probably want to use an different drive to your C:\ drive.

It is a very straight forward task to perform.

First of all, you need to stop your docker containers using the docker stop [Container Name] command. For a list of all your docker images, run the command: docker images –all.

Then type “Hyper-V Manager in the taskbar search box and run it. Select your PC in the left hand pane. Right-click on the correct virtual machine which by default is called MobyLinuxVM. Select “Turn Off”. Right-click on the Virtual Machine and select “Move”. Follow the on-screen prompts to move your VM.

Now open Docker Settings and select Daemon. Switch from Basic to Advanced. Edit the JSON so that it looks like:

“registry-mirrors”: [],
“insecure-registries”: [],
“debug”: true,
“experimental”: false,
“graph”: “G:\\DockerImages”

Click on Apply to apply your change. In the JSON above, the graph property is the location where your docker images will be placed by default from now on.

51GYZtbe1sL._SX404_BO1204203200_If you are new to Docker and would like to learn more on how to use Docker on Windows then you can buy the book Docker on Windows published by Packt.

Author Elton Stoneman guides you through getting started with docker on Windows, packaging and running applications as docker containers, developing dockerised .NET and .NET Core Applications, pushing and pulling images from docker registries, adopting container-first solution design, organising distributed solutions with Docker Compose, administering and monitoring dockerised solutions, understanding the security risks and benefits of docker, powering a continuous deployment pipeline with docker, debugging and instrumenting application containers, and guidance for implementing docker by containerising what you know.


Adaptive Code in C#: Agile Coding with Design Patterns and SOLID Principles

 Adaptive Code via C: Agile coding with design patterns and SOLID principles

For anyone who is serious about writing good, clean code that is adaptive this book is a must. Even though the book is written for C# programmers, any programmer who needs to learn agile coding using design patterns and SOLID principles will find this book of great value.

The book is partitioned into three sections. Part 1 provides you with a foundation into agile software project management using Scrum. Then you learn about programming with dependencies and layering, before you move on to reading about interfaces and design patterns. This part finishes with a look at unit testing and refactoring.

In Part 2 you are guided through the process of writing SOLID code. There are eight chapters in all in Part 2. These chapters cover the single responsibility principle, the open/closed principle, the Liskov substitution principle, interface segregation, and dependency injection.

You then move on to Part 3 which guides you through the initial phases of developing an adaptive software product over two sprints. Using a fictitious team and project, chapters 10 , 11, and 12 describe the conversations the team members have and the decisions they must make along the way.

You can find the code samples on GitHub. The code examples reflect a selection of some of the patterns and practices that were covered in Parts 1 and 2. Not everything is covered, but some of the more common implementation questions are answered.

All-in-all a very good book, and one that is easy to read from cover-to-cover.

Xna 4.0 Game Development by Example: Beginner’s Guide

XNA 4.0 Game Development By Example authored by Kurt Jaegers is an excellent book for anyone who wants to learn XNA 4.0 games development. As you work through the book you develop some games including Flood Control, Astroid Belt Assault, Robot Rampage, and Gemstone Hunter.

This book comes in two versions one for Visual Basic .NET programmers, and the other for C# programmers. The good thing about this book is that it is very easy to read, and the examples are easy to follow. For anyone new to games programming this is a good place to start

HTML5 Step by Step

HTML5 Step by Step

Faithe Wempen

If you are completely new to building web pages with HTML, and especially HTML5, then this book is for you. This book is one that I own and it is a very practical book. The good thing about buying this book is that you get access to the online version with source files free.

Faithe Wempen does a very good job of easing people new to building web pages in, and getting them up to speed quickly. The way the book is written makes it easy to read all the way through. You also build a gardening website as you work your way through the book. So if you have never built a website in your life, and don’t know where to start, then by the end of this book you will have learnt the latest web standard (HTML5) that works consistently on all operating systems including Apple, built your very first functional website to add to your budding web portfolio, and you will have a solid grounding to build compelling Internet websites, games, and business applications by enhancing your knowledge of HTML Games Programming, CSS3, and JavaScript. Once you have learnt the basics, you are free to explore the potential of what you capable of achieving.

I highly recommend this book to anyone who is serious about learning HTML5.

HTML Utopia: Designing Without Tables Using CSS

HTML Utopia: Designing Without Tables Using CSS (Build Your Own) by Dan Shafer is a practical step-by-step guide to building attractive websites using CSS in place of tables. I have used this book to learn CSS when I was working for a UK company to redevelop their website.  The content of this book is very useful, and I find that it is a very good book to have on your desk when doing web development.  The book comes with sample source code that you can download from the book’s website.  You may find that having a simple grasp of writing HTML is useful when reading this book.

Head First Series

I highly recommend the Head First series of books for anyone needing to learn maths, science, or computer programming. The books are different to normal text books as they are highly visual and provide a good level of humour. The designers of the Head First series have put a lot of time and effort into understanding how our brains work, how they take in information, and the kind of information that our brains store. Based on this research the books in the series are designed to be interesting, fun, and engaging. I find the books on Java, Software Development, and Design Patterns particularly interesting. If you haven’t done so already, your are recommended to read them for yourselves and see how much more you learn from such books when compared to dry academic text books that take you to the point of falling asleep after the first few pages. Widgets