Author Archives: cloudnthings

Quick links to set up Ubuntu on Mac

By | January 27, 2020

You’ll need to download Virtual Box: https://www.virtualbox.org/wiki/Downloads You’ll want to download the latest version of Ubuntu and most probably the desktop version: https://ubuntu.com/download/desktop Go through the install process. You’ll want to turn on Guest Addition in order to be able to copy and paste between the 2 OS’s You’ll want to set the Virtual Box display… Read More »

How to remove Last Login in MacOS bash terminal

By | January 25, 2020

When you open terminal you’ll probably be greeted with: Last login: Sat Jan 25 07:54:26 on ttys001 /Users/sean> How to get rid of Last login or other Method Of The Day (MOTD) messages? It is a 2 second fix. Just type “touch .hushlogin”. Just the presence of this file will suffice.

How to find out the location where Docker stores the images on MacOS

By | January 17, 2020

In Docker preferences, select “Disk” and you’ll see the disk image location. You’ll also see the allocated image size and the amount used as well. The location for me was: /Users/sean/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw (Sometimes it the extension can be .qcow2 as well) Other locations for previous versions and other OS’s are: /Users/MyUserName/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 $HOME/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 /Users/USERNAME/.docker/machine/machines

Docker Useful Commands

By | December 28, 2019

Images List: docker images -a Remove: docker rmi Image Image Remove all images: docker rmi $(docker images -a -q) Containers List: docker ps -a Remove: docker rm ID_or_Name ID_or_Name Stop all containers: docker stop $(docker ps -a -q) Remove all containers: docker rm $(docker ps -a -q) Volumes List: docker volume ls Remove: docker volume… Read More »