Hacker Newsnew | past | comments | ask | show | jobs | submit | beneills's commentslogin

Feature request: allow volumes to be mounted as read-only via, e.g.:

    hyper run --name mycontainer --volume myvolume:/mnt/point/:ro myimage


Feedback: there are empty pages in your docs, e.g. https://docs.hyper.sh/Reference/API/2016-04-04%20[Ver.%201.2...


Thanks!


Do you plan to host a container registry? My use case is wanting to build an image containing SSL server certificates, which I cannot push to, e.g. Docker Hub.

Being able to do `hyper push myimage` would streamline the process.


My solution for the moment is sending my ssl data to a volume, but having 100KiB in a 10GB (minimum) volume feels ugly.

    tar czf - ssl/ | hyper exec -i 7f0b148b478e bash -c "cd /root && cat - | tar xz"


I'm trying this out by deploying my website (static files generated from Jekyll source and served, all in a Docker image).

I've written the following instructions for updating the site (build new image, push to Docker Hub, pull into hyper.sh, stop previous container, run new one, attach floating IP). Does it seem reasonable?

    HYPER_IP=209.177.92.197
    LATEST_HASH=$(git log -1 --pretty=format:%h)
    IMAGE_NAME=beneills/website:$LATEST_HASH

    docker build -t $IMAGE_NAME .
    docker push $IMAGE_NAME

    hyper pull $IMAGE_NAME
    hyper run -d -p 80 --name website $IMAGE_NAME
    EXISTING_CONTAINER=$(hyper ps --filter name=website --quiet)
    hyper stop $EXISTING_CONTAINER
    hyper rm $EXISTING_CONTAINER
    hyper run --size=s1 -d -p 80 --name website
    beneills/website:2994001
    hyper fip attach $HYPER_IP website


> LATEST_HASH=$(git log -1 --pretty=format:%h)

LATEST_HASH=$(git rev-parse --short HEAD)

is the more normal way to do that.

It also looks like you'll have downtime due to deleting then running. Eww.


Hey Beneilles, this looks reasonable but I'm not sure where you got your Hyper_IP from.

Could you drop a note on the forum [1] or join the slack [2] and ask there?

[1] https://forum.hyper.sh/ [2] https://slack.hyper.sh/


Location: Cambridge, UK

Remote: Yes

Willing to relocate: No

Technologies: Ruby on Rails, C, Ruby, Java, Python, Rust, Rails, Linux + other web technologies

Projects: https://beneills.com

Github: https://github.com/beneills

Résumé/CV: https://www.linkedin.com/in/beneills

Email: ben AT beneills DOT com

I’ve been travelling in Europe for the last few months, working on some of my own projects, and now I’m keen to join a small, focused team. I'm experienced in the industry and personally across a broad range of technologies, and am interested in a full-time position.


Location: Cambridge, UK Remote: Yes Willing to relocate: No Technologies: Ruby on Rails, C, Ruby, Java, Python, Rust, Rails, Linux + other web technologies Projects: https://beneills.com Github: https://github.com/beneills Résumé/CV: https://www.linkedin.com/in/beneills Email: ben AT beneills DOT com

I’ve been travelling in Europe for a while, working on some of my own projects, and now I’m keen to join a small, experienced team. I'm experienced in the industry and personally across a broad range of technologies. Check out the links above, then drop me an email!


Author here. I started this after seeing the post about a quantum computer simulator in Python[1] and reading up about the theory.

There's still a lot of work to be done, especially adding more gates, but the framework for computation is all there.

Suggestions/feedback welcome.

[1] https://news.ycombinator.com/item?id=12106163


Hi - I don't run such a service myself, nor do I know of one. Setting it up this way was far simpler, while remaining accessible to most Github users.


You are probably right.


Thanks! Adding other sources would be straightforward. A ranking algorithm only slightly more so.


Oh, also I'm looking for work, but ended up writing this...

https://beneills.com | ben@<that website>.com


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

Search: