16 ms·
Dockercraft: Manage Docker containers from Minecraft
- yuribit 11y agoDude, if you really wanna see containers use Sysdig: https://sysdig.com/wp-content/uploads/2015/07/screen-dynamic-topology-full.gif https://sysdig.com/wp-content/uploads/2015/07/screen-dynamic...
- jdoliner 11y agoI'm going to go out on a limb here and guess that that this fills a slightly different need than Sysdig. Sysdig is amazing though.
- rgbrgb 11y agoPrior work: http://psdoom.sourceforge.net/ http://psdoom.sourceforge.net/ :)
- deleted 11y ago[deleted]
- alpb 11y agoThis was pretty cool. I think folks really need to watch the demo in the closing video when it gets published. I think the most catchy sentence in the demo was “you can finally show your kids what is this containers thing you are working on”. :)
- alpb 11y agoThis was pretty cool. I think folks really need to watch the demo in the closing video when it gets published. I think the most catchy sentence in the demo was “you can finally show your kids what is this containers thing you are working on”. :)
- khoury 11y agoMind = blown. Why not visualize code like this? Walking around in your API, watching the flow of data... :)
- justinhj 11y agoOr manage processes? http://psdoom.sourceforge.net/ http://psdoom.sourceforge.net/
- triggercut 11y agoI'm not sure if this is the video i'm trying to recall, but.. https://www.youtube.com/watch?v=B824CmVbhJ8 https://www.youtube.com/watch?v=B824CmVbhJ8
- voltagex_ 11y agoThis is probably offtopic, but the state of Minecraft modding is really bad * One dude is maintaining Forge/MinecraftCodersPack/Fernflower, which powers pretty much every mod * Ad-infested forums and adfly links are the preferred way of distributing mods * The last moddable client version is 1.8.0, 1.9 is out. * Getting a mod started is really difficult, and it's not clear what should/shouldn't be in source control. Props to the author for finding a way around all of this.
- cwilkes 11y agoDocker 2.0 will fix all this. Oh wait you were talking about minecraft
- RX14 11y agoI disagree with it being difficult to get a mod started, you simply download the mdk (like a mod template) and follow the instructions on the readme. I'm not sure, but they might even have a git ignore in the mdk these days. Edit: In addition, LexManos is no longer the sole contributor, cpw has returned, and MCP has always been a separate project which has managed to keep a core team. About 1.9, because the minecraft code is obfuscated and very complex, updating forge to new minecraft versions takes a long time for MCP to release mappings, then forge to port etc, so I'm really not surprised that updating takes a while. Most mods these days are distributed through curse forge, which although has adverts, is reputable and curse pays per download. The minecraft forums are as buggy and crap laden as always unfortunately.
- voltagex_ 11y agoAh I didn't realise cpw had come back. That's good news. By MDK do you mean Forge? MDK doesn't seem to be used except in one forum thread.
- RX14 11y agoThe mdk (renamed from src zip, because it no longer contained the forge source) is a zip containing a template mod, gradle buildscript, and instructions on setting up your ide, you c an download it here: http://files.minecraftforge.net/ http://files.minecraftforge.net/
- runawaybottle 11y agoConceptually, this is way ahead of its time.
- oliyoung 11y agoahead? This 3d representation of computer operations has been a staple of “hacker” movie art direction since the 80's. Tron, WarGames, Jurassic Park.
- politician 11y agoBut this actually works.
- wisdomdata 11y agoIf I was microsoft, I would overhaul minecraft mods and make it possible to write them in c# (maybe with a bridge or something). Get kids into your stack and fix an existing pain point.
- voltagex_ 11y agoI started writing a "bridge" inspired by a lost project that allowed writing mods in C#. Pull requests welcome, but I'm unlikely to go back to it any time soon. https://github.com/voltagex/minecraft-rebridge https://github.com/voltagex/minecraft-rebridge
- voltagex_ 11y agohttps://github.com/Microsoft/vsminecraft/ https://github.com/Microsoft/vsminecraft/ / http://blogs.msdn.com/b/visualstudio/archive/2015/04/30/hello-minecraft-modders-visual-studio-loves-minecraft.aspx http://blogs.msdn.com/b/visualstudio/archive/2015/04/30/hell...
- stephengillie 11y agoWere I Microsoft, I'd immediately containerize a Minecraft server.
- Mchl 11y agoWere I Microsoft, I wouldn't know how to find my back side.
- NetStrikeForce 11y agoIt has been done multiple times, by several people. Just run a search on GitHub :) Usually you would install java, download the latest server jar and just start it. I was working on a set of scripts to launch multiple containers on the same host and keep track of the ports exposed, but I've only spent a couple of hours on it and jumped to something else https://github.com/pjperez/Multicraft https://github.com/pjperez/Multicraft I've also added a poor man's queue system using Azure Storage :) Forgive my poor coding; I'm not a developer and only do these things as a hobby.
- voltagex_ 11y agohttps://github.com/docker/dockercraft/issues/3 https://github.com/docker/dockercraft/issues/3 is a wonderful bug report.
- illza 11y agoThanks!
- aduermael 11y agoOh yes! It was so funny to read that one! :D We should start listing hilarious bug reports, I sure we're going to get quite a bunch.
- pookeh 11y ago"My web server died when I ran into the wall" "Not enough bricks to establish connection to db container" "Firewall daemon in container shuts off at night then comes back on automatically at day" ...yea
- PhasmaFelis 11y agoRelated, there's a Twitter account that posts weird excerpts from changelogs and patch notes, mostly from games: https://twitter.com/thestrangelog https://twitter.com/thestrangelog "Reduced maximum amount of feathers you can get from hitting dead birds with rocks" "Fixed a bug where robots would spawn underneath the piano." "Rodent men have no skin"
- Natsu 11y agoAnd here I was honestly expecting to read a bug report of data loss due to a Creeper attack.
- LeoPanthera 11y agoEach container should have a cake inside. That should solve the problem.
- randall 11y agoDo you realize what you've actually built? A way for people to "hack" by flying through 3d space into computer bricks representing server apps. 90s Hollywood thanks you.
- fosk 11y agoRelevant: http://i.imgur.com/Owqq8ip.gif http://i.imgur.com/Owqq8ip.gif
- duaneb 11y agoAlso: http://i.imgur.com/wheS1sW.gif http://i.imgur.com/wheS1sW.gif
- grubles 11y ago"Ah ah ah!" http://jurassicsystems.com/ http://jurassicsystems.com/
- deleted 11y ago[deleted]
- urbannomad 11y agoWhich actually existed: https://en.wikipedia.org/wiki/Fsn https://en.wikipedia.org/wiki/Fsn
- hellbanner 11y agoI was going to slam this "reddit style comment thread" but this is actually a great example of the Dockercraft in fiction!
- atomical 11y agoRelevant: http://www.imdb.com/title/tt0113243/ http://www.imdb.com/title/tt0113243/
- jandrese 11y agoYou're too late. https://www.cs.unm.edu/~dlchao/flake/doom/ https://www.cs.unm.edu/~dlchao/flake/doom/
- forgotmypassw 11y ago>r = os.execute("goproxy exec?cmd=docker+stop+" .. containerID) Please no.
- voltagex_ 11y agoWhat's another way to do it? This is a hack after all, but I'm sure they'll accept pull requests.
- aduermael 11y agoOf course! We're really not working full time on this, had to make it work. I agree that one is horrible!!!
- beltorak 11y agoThe REST purist in me would advise against GET requests for executing actions. Not sure how I'd design the actionable namespace though; not a lot of experience there I'm afraid. But perhaps a POST of "cmd=stop" to "hxxp://$host:$port/docker/container/$containerId".
- IIAOPSW 11y agocan you use some sort of redstone contraption to interact with the containers?
- aduermael 11y agoMaybe that would be a good way to do scripting within the game... :)
- stephengillie 11y agoImagine a skyscraper, each floor is a forest of docker cubes. Now imagine a massive Redstone engine managing them, not unlike one of the Minecraft GPUs.
- Kapura 11y agoThis is the future of computing, and I mean that without any irony whatsoever. Simulating physical spaces as a metaphor for complex systems is incredibly powerful. I expect to see much more of this in the coming decade, especially once VR starts hitting its stride.
- TeMPOraL 11y agoI disagree. It may start to make some sense if we get full VR/AR, but right now, with limited screen-space of 2D monitors, using such a system is much more complex and time-consuming than doing things directly. That said, I'm considering installing it just to have an excuse for playing Minecraft at work.
- bottled_poe 11y agoI doubt it. I only want to see relevant information on my UI. How is a 3D spatial representation relevant to the daily tasks of a sysadmin? The relationship between these two information spaces seems tenuous to me.
- cakeface 11y agoIt's about mapping inputs into a mental picture of what reality is. I am quite good at looking at various diagnostics and reporting available to me and figuring out what is going on. I can look at my New Relic server graphs over time, ps, df, du, free, and others to arrive at a conclusion for what is happening. Someone untrained would not come to the same conclusion as me. Now, if my network were a castle and bad packets or DDoS attacks looked like Catapults and flaming arrows. It would be very obvious to someone viewing that scene that we are at war and possibly losing. If my walls were huge and the arrows few you would not worry. If my walls were low and small and the arrows many you would realize we are losing. This is an image that can be looked at and understood almost universally, without the need for years of training on what the debug logs in a firewall look like.
- Keverw 11y agoOh wow. I can imagine a virtual world that is a physical datacenter but you can see all your servers on racks as if they were real servers, add in appliances and other things. Not sure how practical it would be, but sounds pretty fun. Own your entire virtual datacenter. So each server on the rack would be linked to a virtual server on a provider, maybe if you use S3 be able to visualize all your storage as if it was a physical storage cluster in your own datacenter. Be pretty awesome, but not sure if it'd be more of a novelty.
- BatFastard 11y agoPeople have implemented real time process visualisation in SecondLife.Plus tons of other things like that years ago. Doing it in MC is possible, but clunky.
- splatcollision 11y agoAnd then you can create new docker containers running minecraft servers...
- 55555 11y agoThis is actually really cool. The concept of Memory Palaces is borne out of the fact that our brains are way better at remembering geographical information than arbitrary information. If you are managing a lot of servers or whatever you'd actually have a much easier time using something like this. When someone forgets which box you are talking about: "You know, that server out by the river." Or imagine flyig above all of your servers and seeing how they are all interlinked and how the scale of your operation has grown over time. This is way ahead of its time but there's definitely something here.
- blainesch 11y agoNow to make a minecraft server to manage my other minecraft docker servers...
- yeukhon 11y agoYou can run docker inside a docker inside a docker, so you can now run docker minecraft inside a docker minecraft that manages other dockers and docker minecrafts?
- corobo 11y agoand then add BungeeCord or something in front of them so that you can enter those servers inside Minecraft by physically entering portals within the container 'buildings'
- milesf 11y agoThis will hopefully inspire others to see "boring" applications in a new way. I've always wanted a double-entry bookkeeping system inside of a game engine. Internet, please make it happen.
- vitalus 11y agoSeem like there's great potential here as an educational tool to learn how these abstract systems interact. Great stuff.
- alexc05 11y agoI hope this one works better than kitematic! I'm really excited by the implications of docker, but the practicality of using it on windows has proved to be troublesome. It is very difficult to get docker containers running locally (at least using the gui tools) I know that MS believes in it wholesale so am really looking forward to the day when the tools catch up to their promises. So far I've been bashing my head against the wall whenever I've gotten past "tutorial phase 1" Getting a webhost, database, memcached, rabbitmq, load balancer etc... All talking to each other on a local 'dev' system... theoretically a perfect mirror of the thing that will be the super scalable production system. Difficult. I'm undoubtedly doing stuff wrong, but if there are any docker wizards out there, please point me to your blogs! I'm dying to finally wrap my head around the promises of scalable containerization. EDIT: I just watched their youtube video. This interface is honestly amazing. To be able to arrange virtual machines in 3d space. What a phenomenal tool. This will really help me learn how to use docker effectively.
- smegel 11y agoKubernetes. Specifically, running kubelet locally is a great way to bring up a "pod" of just the containers you want, configured the way you want. It's actually pretty conveniant, and as dev I have started preferring it as a way of quickly bringing up new things to test on my dev machine. And Kubernetes was designed to scale...you should be able to take your local config file and make it part of the broader client/server based Kubernetes setup...and it will bring your containers up across a cluster of servers.
- alexc05 11y agoThanks for the lead! I'll look this up today.
- politician 11y ago> It is very difficult to get docker containers running locally. Don't try to wade upstream, docker is a Solaris/Linux technology. Just go with the flow. Soon enough, we'll have C#/.NET running on Linux in containers with the CoreCLR project. And also, SSH works!
- tonteldoos 11y agoDoes this remind anyone else of a very rudimentary looking Gibson (from Hackers)? Only 20 years in the making...
- dbalan 11y agoThis maybe a really good training tool for docker containers.
- Animats 11y agoCan you implement fallover on failure by hooking up the torch on one block to the switch on another using redstone?
- kika 11y agoThis is actually "Skeuomorphism level 2". Super great.
- lordnacho 11y agoLooks comical at first, but this type of thing can have great benefits for people who are not hardcore techies. Things can be done with a physical metaphor in everyday language. Shut down this server, make a copy, and so forth.
- bechampion 11y agoman this is so good .... in the future we will have kids playing/working for free (just joking)
- deleted 11y ago[deleted]
- ramon 11y agoawesome!
- joeyspn 11y agoI was about to migrate a side project using docker containers to AWS Lambda just for fun... Now I guess I'll stick with docker a few more months... =)
- cdnsteve 11y agoThis is neat on so many levels.
- anonbanker 11y agoI'll just leave this here: https://www.youtube.com/watch?v=f9exy3Xyr_8 https://www.youtube.com/watch?v=f9exy3Xyr_8