DOCKER HOME LAB | Affect container with Dockerfile

In the last post we learned how to use Dockerfiles to automate the build process of making contain images. Now were going to see how we can use Dockerfiles to affect containers beyond the file system. CLICK IN THE FOLLOWING LINKS TO JUMP TO THE POST OF THE THIS SERIES:  DOCKER HOME LAB | Where to Start ? DOCKER HOME LAB | Managing Docker Containers DOCKER HOME LAB | Commit changes to a container DOCKER HOME LAB | Using / Finding / Sharing in Docker Public index DOCKER HOME LAB | Building Containers with Dockerfile DOCKER HOME LAB | Affect container with Dockerfile Affect container defaults with Dockerfile Docker containers are about running processes, but there are many properties of the environment that affect the processes including what the user is running as, environment variables and its access to the network. We can use Dockerfiles to specify this extra information about how a container processes should be run. First there are two instructions that affect what is run. … [Read more...]

DOCKER HOME LAB | Building containers with Dockerfile

In the previous post we looked at managing, finding and working with containers. In this post we will be learning how to programmatically make or build container images using dockerfile. CLICK IN THE FOLLOWING LINKS TO JUMP TO THE POST OF THE THIS SERIES:  DOCKER HOME LAB | Where to Start ? DOCKER HOME LAB | Managing Docker Containers DOCKER HOME LAB | Commit changes to a container DOCKER HOME LAB | Using / Finding / Sharing in Docker Public index DOCKER HOME LAB | Building Containers with Dockerfile DOCKER HOME LAB | Affect container with Dockerfile DOCKERFILE Manually or interactively making Docker containers can be a pain, especially if you need to do it often or in multiple places. Docker addresses this by providing "dockerfile" that lets you define how to make a Docker container. Docker can then build the container from the instructions in that file in the same way no matter what environment. Let’s try this with our sshd server container from the previous example. When … [Read more...]

DOCKER HOME LAB | Using Finding Sharing Docker containers

In the previous post we saw how to create our own containers images. In this post I will show you how to share them with the world which also makes it convenient for you to access them from other host. CLICK IN THE FOLLOWING LINKS TO JUMP TO THE POST OF THE THIS SERIES:  DOCKER HOME LAB | Where to Start ? DOCKER HOME LAB | Managing Docker Containers DOCKER HOME LAB | Commit changes to a container DOCKER HOME LAB | Using / Finding / Sharing in Docker Public index DOCKER HOME LAB | Building Containers with Dockerfile DOCKER HOME LAB | Affect container with Dockerfile This are the new commands we will be using in this post: docker images docker login docker push docker pull docker rmi Docker Registries are a services to store Docker images in a way that is layer aware and efficient There is a free pubic registry run by the company behind Docker called the Docker hub. We can upload, download images from this index as an easy way to move containers of our own We need to … [Read more...]

Docker Home Lab | Commit changes to a Docker container

Commit changes to Docker containers In our previous post we learned how to start and manage containers. You may have noticed every time that we run a container it is started from the same point or image, none of our changes to the file system stayed with that image. CLICK IN THE FOLLOWING LINKS TO JUMP TO THE POST OF THE THIS SERIES:  DOCKER HOME LAB | Where to Start ? DOCKER HOME LAB | Managing Docker Containers DOCKER HOME LAB | Commit changes to a container DOCKER HOME LAB | Using / Finding / Sharing in Docker Public index DOCKER HOME LAB | Building Containers with Dockerfile DOCKER HOME LAB | Affect container with Dockerfile In this post we are going to use these new commands to learn how to make changes to a container image. docker images docker run docker diff docker commit Often you may want to work with containers that already set up the way you want instead of setting them up from scratch every time. Perhaps you want to have it configured in certain way or … [Read more...]

Docker Home Lab | Managing Containers

Managing Docker Containers In the previous post we saw a number of ways to create and starts containers. Once you started them, there are various command you have to manage them. You were already introduced to a few, but let’s look to some more of them CLICK IN THE FOLLOWING LINKS TO JUMP TO THE POST OF THE THIS SERIES:  DOCKER HOME LAB | Where to Start ? DOCKER HOME LAB | Managing Docker Containers DOCKER HOME LAB | Commit changes to a container DOCKER HOME LAB | Using / Finding / Sharing in Docker Public index DOCKER HOME LAB | Building Containers with Dockerfile DOCKER HOME LAB | Affect container with Dockerfile In this post I will introduce this commands: docker ps docker inspect docker logs docker stop docker kill docker rm Don’t be intimidated most of these are very simple commands. Managing containers is mostly a matter of managing processes, but in a way that is container aware. Docker provides a suite of utilities to manage container processes in much the … [Read more...]

QNAP TS 451+ and virtual machines – Virtualization Station

Introduction I recently bought a TS 451+ with 4 Hitachi NAS drives for a reasonable price at Sim Lim. Took me a few days to transfer all content from the old to the new box and set up everything the way I like (Plex for LAN media streaming, PhotoStation, iTunes server, the usual suspects). One of the features that I found particularly intriguing is the Virtualization Station - the ability to run virtual machines directly on the NAS. So eventually I would give that a go and see how it is. A few things upfront: If you find yourself in the market for a NAS which can run VMs natively, it needs to have the right CPU. For QNAP boxes, the x51 models (251, 451 etc.) will all be capable of running VMs. Secondly you have to have sufficient memory available. QNAP's Virtualization station will not be available if you have less than 2GB. Hence the + models, which all come with minimum specs equipped. My 451+ has a quad core 2GHz Celeron CPU and 2GB. Installing your first VM To get started, … [Read more...]

Fear and loathing in Las Vegas: VMworld 2016!

VMworld 2016: We can't stop here, this is bat country! It's that time again! VMworld 2016 is coming closer and changed venue: we are going to Bat Country aka Las Vegas! Something new for me this year: as a vExpert VMware asked me as one of the official independent bloggers. Pretty stoked with being able to do more interviews and get access to more people and content so follow this site as I will be posting every day live... and now for something completely different!  This week something unexpected happened..(click bait lol) … [Read more...]

2012 Linkedin data breach exposes 100 million Linkedin accounts

2016-05-27: Linkedin reveals user data exposure was bigger than predicted after 2012 data breach Last Wednesday Linkedin made a surprise announcement that hit the online security community like a bomb. If you think it couldn't get worse after the 2012 Linkedin hack which exposed approximately 6,5 million users. The crew responsible for the initial attack had a hidden card up their sleeve... … [Read more...]

Pure live: accelerate possible

Pure Storage is coming to show you what's next in all-flash storage technology. As most of you know I have been working for Pure for 2 years now as virtualizaton architect for the past 2 years. I never mention much about Pure as a company on this blog. Reason for this: this is a technology blog that has always been reviewing products from dfferent vendors and we will keep doing so. Best example I guess is that my HP counterpart in Singapore is blogging on here too. That being said if I see something interesting happening at Pure (what happens all the time) and I am allowerd to talk about it (what nearly ever happens) I don’t belive its unethical to highlight it. I would do the same for any other company,. Feel free to comment if you disagree, its a thin line. I realize that but I write about my passion and that is technology, not politics. … [Read more...]

VIRTUALB.EU VMWARE 6.2 UPDATE SERIES 2: From vSphere Virtual Switch to NSX 6.2 Part 1

A little bit of VMware virtual networking history Virtual networking has come a long way. Started off with VMware workstation 1.0 to GSX and ESX a brief interlude on ESXi and finally landing on a control plane on the vCenter. With the coming of NSX VMware has taken this even further and distributed the components out of the vCenter and out of the virtual and physical datacenter. But before we go to the enhancements in NSX 6.2 let’s rewind back to the good old days and start with the birth of the virtual switch aka the vSwitch. The first iteration: the vSphere Standard vSwitch (vSS) The first virtual switch was just a port of a normal network switch as we know with the control plane placed on the ESX(i) server. Most of the intelligence as we know it of normal switches was taken out of it (port QoS, etc) and a simplified switch was created. It’s main function was to create a virtual network with a dual function: Interconnect Virtual … [Read more...]