Run Buildroot on Ubuntu with Docker

Follow the getting started to install Docker. I prefer using Docker in the PowerShell prompt on Windows 10.

To download ubuntu image, and start a new container with bash shell

docker run -it ubuntu bash

From another command prompt, run the following to find container id

docker ps -l

Add the -a option to see all containers, even those that are stopped.

To exit bash shell and stop container, type exit. To return to the container created earlier

docker start container_id
docker attach container_id

Hit enter once or twice to see the bash shell.

Update apt-get package cache

apt-get update

You should now be able to search for and install your favorite missing tools

apt-cache search wget
apt-get install wget

Obtain and untar Buildroot

tar xvzf buildroot-2016.11.2.tar.gz

Install other core dependencies

apt-get install patch cpio python unzip rsync bc bzip2 ncurses-dev git g++


Go ahead and build your Linux system.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s