Solved: Error response from daemon: Container is not running

When we created the docker container using command, and then tried to access the shell as, we got an error as, This error is because, when we create the docker container, this container is not running by default, and is in exited state as can be seen below, Solution : the solution to this problem … Read more

How to create, start, stop and delete the Docker containers ?

Create docker container with Ubuntu Image Note: To create docker container, you need to make sure docker is installed on your machine by following “How to install Docker on Ubuntu 18.04 ?” Once, you see docker container is installed, you can see its container id as, Note: for all below commands “CONTAINER ID” is required, … Read more

How to work with Single Container Ubuntu image in Docker ?

As described in previous post “How to run Ubuntu 18.04 in docker container ?” once you have the docker image running for first time using, Note: You don’t need to run this command always and for one docker instance this can be once in a lifetime of this instance and then just run “docker start … Read more

How to save / commit changes to docker image ?

This post is in continuation with our previous post, “How to run Ubuntu 18.04 in docker container ?” , as mentioned in previous post, suppose you get to console and does some work like creating files, installing some packages etc, and “exit” from that shell and after some time you again started the same Ubuntu … Read more

How to run Ubuntu 18.04 in docker container ?

This post is in continuation with previous post “How to install Docker on Ubuntu 18.04 ?” , in this post we will demonstrate how you can run Ubuntu 18.04 inside docket container. Search for the Ubuntu images from the repository as, Now, you can create download the Ubuntu 18.04 docker image using below command, This … Read more

How to install Docker on Ubuntu 18.04 ?

The steps below shows how to install docker on x86_64 bit ubuntu desktop and have independent ubuntu shell inside docker. [ Note: docker works only with 64 bit ubuntu, hence if you have 32 bit ubuntu machine, it will not work ] If you have any nonworking traces of cocker, remove it using below command, … Read more

Finding list of installed files from a package in Linux

Recently we installed one package, but couldn’t understood which all files it installed on Ubuntu. You can use the command as, dpkg-query -L PACKAGE_NAME So, lets say, you want to identify which are files “openssh-server” package installed, then run the command as below, dpkg-query -L openssh-server /. /etc /etc/ufw /etc/ufw/applications.d /etc/ufw/applications.d/openssh-server /etc/pam.d /etc/pam.d/sshd /etc/init /etc/init/ssh.conf … Read more

Booting Androidthings on RaspberryPi3

Follow below steps to boot the Androidthings on Raspberry Pi3 Download the prebuilt image from wget -c unzip this will unzip and create iot_rpi3.img image which we need to install on SD card. sudo dd bs=1M if=./iot_rpi3.img of=/dev/sdb where /dev/sdb is assumed to be device name of SD card which we needs … Read more

How to check which header belongs to which package in ubuntu

In Ubuntu, there is a way to identify which header file belongs to which package so if you encountered an error as “header file not found” you can install the package to resolve the error, Just follow below steps, sudo apt-get install apt-file sudo apt-file update Now lets try to identify which packages contain “sys/types.h” … Read more

Create a Dual Partition SD Card with Linux / Ubuntu

Start ‘fdisk’. For me, the SD card reader/writer has the SD card show up on /dev/sdc. I recommend you insert a properly formatted card and execute ‘mount’ or ‘df’ to figure out what device your SD card shows up under. You’ll need to ‘umount’ the drives before you can run ‘fdisk’. Be sure to choose … Read more