News for hackers. Stuff that matters.
Re:Run the First Edition of Unix with Docker by drb91 on Thursday November 23, 2017 @11:10AM (#15765904)
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.
Re:Run the First Edition of Unix with Docker by loudouncodes on Thursday November 23, 2017 @10:30AM (#15765585)
Getting this up and running on the PiDP/11 would be a thing of beauty: https://hackaday.io/project/8069-pidp-11
Re:Run the First Edition of Unix with Docker by aap_ on Thursday November 23, 2017 @01:55PM (#15767095)
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.
Re:Run the First Edition of Unix with Docker by aap_ on Thursday November 23, 2017 @01:56PM (#15767099)
Yeah nice, but why use docker?!
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
Re:Run the First Edition of Unix with Docker by digi_owl on Thursday November 23, 2017 @04:15PM (#15767844)
Because containers, with docker as their poster child, is the "hot" way to distribute everything.
Re:Run the First Edition of Unix with Docker by dboreham on Thursday November 23, 2017 @02:11PM (#15767186)
Because buzzwords?
Re:Run the First Edition of Unix with Docker by racl101 on Thursday November 23, 2017 @01:45PM (#15767040)
Wow, that's sort of like having a time machine and being able to see the birth of something great.
Re:Run the First Edition of Unix with Docker by dfederschmidt on Friday November 24, 2017 @04:42AM (#15770308)
Next up: How to run Docker on the first edition of Unix :^). Seriously through, nice work!
Re:Run the First Edition of Unix with Docker by microcolonel on Thursday November 23, 2017 @04:24PM (#15767891)
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.
Re:Run the First Edition of Unix with Docker by Dowwie on Thursday November 23, 2017 @11:18AM (#15765972)
would like this for MSDOS 5.0..
Re:Run the First Edition of Unix with Docker by lnx01 on Thursday November 23, 2017 @11:24AM (#15766023)
Dosbox will do it easily
Re:Run the First Edition of Unix with Docker by Zardoz84 on Thursday November 23, 2017 @02:12PM (#15767191)
DosEmu can do it better but only on 32 bit GNU/Linux
Re:Run the First Edition of Unix with Docker by drb91 on Thursday November 23, 2017 @03:16PM (#15767539)
Gnu/linux x86_64 can’t run 32 bit executables?
Re:Run the First Edition of Unix with Docker by kccqzy on Thursday November 23, 2017 @03:19PM (#15767553)
Running 16-bit code on an x86-64 system is hard. There’s a reason Microsoft dropped 16-bit support in 64-bit windows.
Re:Run the First Edition of Unix with Docker by fao_ on Thursday November 23, 2017 @05:04PM (#15768095)
Yes it can. Multilib

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

Re:Run the First Edition of Unix with Docker by Dowwie on Thursday November 23, 2017 @11:19AM (#15765979)
would like this for MSDOS 5.0 so I can play some commander keen
Re:Run the First Edition of Unix with Docker by exDM69 on Thursday November 23, 2017 @11:22AM (#15766005)
It's very easy using dosbox, no containers needed.
Re:Run the First Edition of Unix with Docker by monocasa on Thursday November 23, 2017 @11:39AM (#15766144)
Simh is very easy to use, no containers needed, too.
Re:Run the First Edition of Unix with Docker by Viper007Bond on Thursday November 23, 2017 @05:18PM (#15768184)
You can get all of the Keen games for $1.24 right now on Steam: http://store.steampowered.com/app/9180/Commander_Keen/