Using GDB to debug functions defined in another file in C

In our previous post “How to use gdb for debugging application programs ( On Ubuntu Linux using C program )” we seen how we can debug the C program where all of the code is written in single C file. In this post, we will show you how you can debug the C function written … Read more

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 enable Wifi with yocto

If you want to have WiFi integrated with yocto root filesystem, follow below mentioned steps, Open file, meta-mylayer/images/ 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