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, you will get an console and you can see the docker container ID getting created using below command, so, here every time you exit and run the docker using command … 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 https://developer.android.com/things/preview/download.html wget -c https://dl.google.com/dl/androidthings/rpi3/devpreview/1/androidthings_rpi3_devpreview_1.zip unzip androidthings_rpi3_devpreview_1.zip 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 enable Wifi with yocto

If you want to have WiFi integrated with yocto root filesystem, follow below mentioned steps, Open file, meta-mylayer/images/mydistro-image.bb and add below mentioned line, DISTRO_FEATURES += “wifi” This will add wifi into the root filesystem but unless you have a proper network manager and UI, you will not be able to connect to internet. So, we … Read more

How to add locale into embedded yocto root filesystem

Recently we faced some issues with locale and when debugged using strace it shows following error open(“/usr/share/X11/locale/locale.alias”, O_RDONLY) = -1 ENOENT (No such file or directory) open(“/usr/share/X11/locale/locale.dir”, O_RDONLY) = -1 ENOENT (No such file or directory) open(“/usr/share/X11/locale/locale.alias”, O_RDONLY) = -1 ENOENT (No such file or directory) open(“/usr/share/X11/locale/locale.dir”, O_RDONLY) = -1 ENOENT (No such file or … Read more