News for hackers. Stuff that matters.
Re:Run the First Edition of Unix with Docker by simonw on Thursday November 23, 2017 @02:45PM (#15767384)
Because you literally type "docker run --rm -it bahamat/unix-1st-ed" in your terminal and a few seconds later you're running 1972-era Unix.
Re:Run the First Edition of Unix with Docker by aap_ on Thursday November 23, 2017 @02:48PM (#15767400)
mksh: docker: not found

I see no reason to install docker to run simh when you can just install simh to run simh.

Re:Run the First Edition of Unix with Docker by bonzini on Thursday November 23, 2017 @02:55PM (#15767441)
docker is mostly used to package and install simh.
Re:Run the First Edition of Unix with Docker by rjzzleep on Thursday November 23, 2017 @03:39PM (#15767655)
dunno man, the following seems easier and cleaner to me:

   pacman -S simh
   
   apt install simh

   pacman -Rns simh

?? On that note is there anything that will get rid of unused docker layers when you get rid of an image? sort of like -Rns in pacman? or aptitude remove except for docker images?
Re:Run the First Edition of Unix with Docker by Nullabillity on Thursday November 23, 2017 @03:48PM (#15767702)
AFAIK layers are automatically garbage collected if you delete all images and containers that depend on them. Bear in mind that containers are not automatically deleted after shutting down, unless you give the --rm argument.

You can list them with docker ps -a, and delete all containers by running docker rm $(docker ps -aq).

Re:Run the First Edition of Unix with Docker by readams on Thursday November 23, 2017 @03:49PM (#15767704)
Newer versions have a prune option. Older ones there are shell alias recipes you can find on the web