Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Run the First Edition of Unix with Docker (nickjanetakis.com)
114 points by isp on Nov 23, 2017 | hide | past | favorite | 25 comments


It’s a little disappointing they mention docker a ton of times when it’s simh doing the heavy lifting here (though it looks like a very user friendly way to package it!)—just a shout out to the azing project would mean a lot to some people.


Getting this up and running on the PiDP/11 would be a thing of beauty: https://hackaday.io/project/8069-pidp-11


The PiDP-11 is using simh already. I'm currently putting together a museum of PDP-11 UNICes for it. Although since the target is an 11/70 I'm not so sure we'll have v1.


Yeah nice, but why use docker?!


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.


mksh: docker: not found

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


docker is mostly used to package and install simh.


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?


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).


Newer versions have a prune option. Older ones there are shell alias recipes you can find on the web


Because containers, with docker as their poster child, is the "hot" way to distribute everything.


Because buzzwords?


Wow, that's sort of like having a time machine and being able to see the birth of something great.


Next up: How to run Docker on the first edition of Unix :^). Seriously through, nice work!


I really hope this sycophantic obsession with "dockerizing" things blows over. It is not impressive to run a single isolated terminal process in a docker container, and docker doesn't write your software for you.


would like this for MSDOS 5.0..


Dosbox will do it easily


DosEmu can do it better but only on 32 bit GNU/Linux


Gnu/linux x86_64 can’t run 32 bit executables?


Running 16-bit code on an x86-64 system is hard. There’s a reason Microsoft dropped 16-bit support in 64-bit windows.


Yes it can. Multilib

EDIT: Misread the tone. Turns out we're agreeing :)


would like this for MSDOS 5.0 so I can play some commander keen


It's very easy using dosbox, no containers needed.


Simh is very easy to use, no containers needed, too.


You can get all of the Keen games for $1.24 right now on Steam: http://store.steampowered.com/app/9180/Commander_Keen/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: