HostOnNet Blog


Category Archives: Virtualization

Stopping Docker Container

docker ps give you list of running docker containers. To stop a container, run Example


baseimage-docker

baseimage-docker is a minimal Ubuntu based docker image. It is available as open source from https://github.com/phusion/baseimage-docker Unlike most other docker images, baseimage-docker allow you to run multiple process i a docker image, that is more like a Virtual Machine. You


Running Docker Container

docker run command is used to run docker containers. If no docker container or image is present on your computer, docker will download it from dockerhub. To run nginx container, run -d make docker container run in background. -d, –detach


Adding KVM Template to SolusVM Server

You can download SolusVM virtual machine templates from https://tdn.solusvm.com Before you can download templates, you need to login with your SolusVM license ID. This you can find in your SolusVM installation > Configuration > Licenses For example, debian 8 KVM


docker-compose

Dockerfile create one container. Docker Compose is used to create multi container application. Docker compose use Dockerfile to create container. https://docs.docker.com/compose/ To install docker-compose on Ubuntu/Debian, run Docker compose save its configuration in file docker-compose.yml in YML format. docker-compose quick


Convert KVM, VMWare virtual machine to Hyper-V

QEMU disk image utility (qemu-img) can be used to convert virtual machine disk from one format to another. https://linux.die.net/man/1/qemu-img QEMU is part of Linux KVM virtual machine. To convert KVM Virtual machine image to Hyper-V format, run To convert VMware


Dockerfile – Scripting your docker image

Dockerfile allow you to script your installation step for your custom docker image. This is reproducible, easy to share and debug. Lets say you need a docker image with nginx installed, you can install it manually, commit the resulting image.


Install Docker On CentOS 7

To install Docker on CentOS 7, run Start docker with Test if docker is working Example [root@localhost ~]# docker run hello-world Unable to find image ‘hello-world:latest’ locally latest: Pulling from library/hello-world 78445dd45222: Pull complete Digest: sha256:c5515758d4c5e1e838e9cd307f6c6a0d620b5e07e6f927b07d05f6d12a1ac8d7 Status: Downloaded newer image


VirtualBox – Open Source Virtual Machine

VirtualBox allow you to run virtual machines on your computer. It is an Open Source software supported by Oracle. https://www.virtualbox.org Using Commandline VirtualBox comes with command line tool VBoxManage. To list all virtual machines on your computer, run To start


Remove all docker containers

To remove all docker containers, run docker rm = remove container -f = will stop container if running docker ps -aq = List all containers. -a list stopped containers. -q only print container ID. Delete all docker images More Docker