Giter VIP home page Giter VIP logo

container-demos's People

Contributors

hosh avatar jbenet avatar richardlitt avatar victorb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

container-demos's Issues

docker registries

I think our big selling point for containers right now is the ability to have a distributed registry. I think that putting more time into documentation about how to set them up will be good, a detailed readme on how to set it up, what commands to run, things that might break, etc.

Also, I think we should look at sharing and combining ipns registries. How can I pull a docker image from your registry to mine just using the ipfs tool?

I think that if we can make it trvial to use ipfs to ship docker images, we are going to be in a really good place.

WIP: Feat/backend toggle switch for desktop settings

@phoniks commented on Tue Dec 04 2018

Seeking feedback. I'm working on enabling the user to try out the Javascript implementation of IPFS by toggling a switch on the settings page. This PR simply ads a checkbox on the DesktopSettings page. I'm particularly interested in knowing whether having this as a checkbox makes sense. Originally I had in mind, based on the original discussions of this feature, to make this setting a select component, but during coding it became obvious that doing so would add a lot of code for not very much change in user experience. Perhaps in the future, if there are other implementations that can be chosen, it may make sense to do the dropdown, but for now it doesn't seem prudent. But, perhaps since it potentially takes your node offline there should be an intermediate step between flipping the switch and actually shutting down the node and re-spawning. Maybe a quick confirmation alert?

Publishing container tags with IPFS in 5 seconds.

Overview

  1. Make a container.
  2. Tag it.
  3. Start a container elsewhere.

Discussion

  1. Where is the tag stored? Is it tagged locally or is it published elsewhere?
  2. Or do we have a IPFS hash entry somewhere mapping tags to addresses of images?
  3. Future: what about sharing and propagating said tags?

Start a container in 20 machines in 5 seconds.

  1. make a container.
  2. start the containers with swarm or fleet
  3. (they share download with each other!)

Discussion

  1. Would need to look at swarm or fleet and see if modifications need to be done. If the base docker client can download from ipfs, this might not be needed. Not sure if swarm and fleet shells out or does a library call.

Writable containers with IPFS in 5 seconds.

  1. Start a container.
  2. Write to it.
  3. Shut it down.
  4. Elsewhere, start the container.
  5. boom changes.

Discussion

  1. Does this require changes in unionfs?
  2. Or are we talking about having ipfs as a possible layer inside a stack of unionfs?

Boot from bare metal with iPXE

@zignig booted a machine from bare metal with astralboot! ๐Ÿ‘

<zignig> jbenet: I got that metal machine plugged in and astral boots metal as well.
<zignig> whyrusleeping: it uses an iPXE shim , http://ipxe.org , so it presents a menu.

would be awesome to demo this too.

WIP: Feat/backend toggle switch for desktop settings

@phoniks commented on Tue Dec 04 2018

Seeking feedback. I'm working on enabling the user to try out the Javascript implementation of IPFS by toggling a switch on the settings page. This PR simply ads a checkbox on the DesktopSettings page. I'm particularly interested in knowing whether having this as a checkbox makes sense. Originally I had in mind, based on the original discussions of this feature, to make this setting a select component, but during coding it became obvious that doing so would add a lot of code for not very much change in user experience. Perhaps in the future, if there are other implementations that can be chosen, it may make sense to do the dropdown, but for now it doesn't seem prudent. But, perhaps since it potentially takes your node offline there should be an intermediate step between flipping the switch and actually shutting down the node and re-spawning. Maybe a quick confirmation alert?

Demos 3 and 4 don't work

Maybe more don't work? Someone needs to run through and test them. Plus a lot of urls point to the old repo locations.

Boot a VM with a (good, old-fashioned) ISO in 5 seconds.

  1. Mount ipfs
  2. boot from mount

Discussion

  1. This is probably more interesting as a demo if we were to find more obscure OSs to run. For example: Haiku (BeOS clone), Plan 9, one of the various Lisp machines.
  2. Another interesting application for this is educational distros.

Move to ipfs-shipyard?

Now we have an org to incubate projects that not part of the core implementation of the protocol or discussion of the spec. That org is ipfs-shipyard created from ipfs/team-mgmt#448

Short description:

IPFS Shipyard is a venue for the community to pursue and collaborate on research experiments, products, code libraries and more around the IPFS project. It is where innovation in userland happens and where we discover and form new primitives to push to the core of IPFS.

Sounds good?

Push static web assets as CDN

  1. ipfs-add new assets
  2. notify production server(s) of new assets
  3. Web container automatically pins new assets and makes them available

Discussion

  1. How to notify the production server? Fleet? IPFS DHT? Custom http app that listens for commands to refresh?

Dataset Containers

  1. Make a data container with IPFS, load up data.
  2. Start container elsewhere.
  3. Boom, access to data!

Overview

This is the most useful for open data. Examples:

  1. http://www.fastonline.org/CD3WD_40/CD3WD/INDEX.HTM CD3WD. This is a CD-ROM containing 900+ publications for basic infrastructure technology designed to be distributed for 3rd world countries. This library could be reformatted to work with a web. We can add an nginx server or something similar: startup this container via IPFS, and you now have access to this library.
  2. https://www.govtrack.us/developers/data GovTrack publishes raw data from US Congress, specifically related to legislations that are being created or debated. Because of the size of the data, GovTrack has only a single firehose to PopVox. Can take a snapshot of this and make this available, or better yet, have GovTrack publish this data. [This might be too big to function as a good demo for this]
  3. http://www.nyc.gov/html/doitt/html/open/data.shtml New York City open data
  4. https://www.kickstarter.com/projects/publicresource/public-safety-codes-of-the-world-stand-up-for-safe US Public Safety codes. These are publications painstakingly created and put out into the public. He has other data here: https://public.resource.org/
  5. Zipcode geolocation dataset
  6. International Timezone dataset
  7. OpenStreetMap dataset?

Push 12-factor app with figure + ipfs

  1. Locally push new code and assets
  2. figure notifies production application servers
  3. Production application servers uses ipfs to get new releases and pins them

Discussion

There is not as much to see with this, since the command line tooling will look the same.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.