Docker crash course with Ubuntu – for beginners | docker ubunter 16.04 beginners guide howto

A quick crash course on how to get a docker container up and going on a Ubuntu 16.04 server.

01. This first section will essentially install the docker repos onto the Ubuntu box.

02. This will actually install docker.

03. Check that its running.

04. This will test that docker is properly installed and able to execute docker containers.

05. This will download the ubuntu image from the repo.

06. The will need to list the images which are available to us, taking note of the image ID

07. Then we cut-n-paste the ID into the command below.

08. You will now notice your running a full blown Ubuntu OS which is actually in a container, this is tested by checking what procs are running by typing “ps waux”, there should only be a few procs running.

09. Exit out of the container, this will end the container

10. The following command will show you the available containers

11.  Determine which container you worked on, cut and paste the ID into the command below to start it in the background.

12. The container is now running, can may connect to it on the terminal by typing the following command and pasting the ID at the end.

 

All you need to know to get you going!

 

 

 

 

 

 

 

 

 

 

 

 

How to create a USB Ubuntu live image on OSX | making a bootable Ubuntu USB drive using OSX

How to create a USB bootable Ubuntu ISO on a OSX machine
 
Download your ISO image from the ubuntu site and save it in your downloads directory.
 
First we convert the image with the command below.

Then we must first determine the device path of the USB disk
 
Take note of the path and ever it in the command below

Then we use DD to image the USB disk, command below. Ensure you change the device path.


 

Ubuntu 17.4 Server network not working after fresh install | ubuntu 17.4 server network not working

I just build a Ubuntu 17.4 Server on a Supermicro box, could not get network up and running.

Turns out I misconfigure the /etc/network/interfaces by describing the ethernet adapter as eth0. Should look something like this

You can obtain the correct naming by using the following command.