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 »

Showing all tabs in sublime

By | December 16, 2019

Sublime is a great text editor. It is fast and powerful but there is one annoying default setting which is all the tabs do not show by default. Instead, they overflow on the right hand side where you have to click on the triangle/arrow to display the other tabs in order to navigate to it.… Read More »

Customising your command line prompt in OSX

By | November 22, 2019

To customise your terminal command line prompt, run this command >> export PS1=”Ben Dover $” However, if you want something more permanent, create a .bash_profile file in your home directory. Then press i to insert text and add the following line: Then press escape and type :wq and hit enter. Then restart your terminal. The… Read More »

Category: OSX

Joe Rogan Experience #1368 – Edward Snowden

By | November 10, 2019

Edward Snowden is an American whistleblower who copied and leaked highly classified information from the National Security Agency in 2013 when he was a Central Intelligence Agency employee and subcontractor. His new book “Permanent Record” is now available.

Category: JRE

invalid active developer path

By | September 21, 2019

If you are getting the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun you probably have updated to Mojave. The fix is really simple and quick. Run this command in terminal. > xcode-select –install Then test with git –version and all should be well.

Category: Git

3A DL1198 Downlight Review

By | August 29, 2019

The good: I tried the 3A DL1198 and it is a good budget downlight. It has all the basics that you should always look for such as: Dimmable Color changing switch IC-4 (which means it can be covered with insulation and it should be ok) Good brightness at 10W and 950 lumens. IP44 as a minimum… Read More »