Coder Social home page Coder Social logo

docker-heartbleed's Introduction

docker-heartbleed

Dockerfile to install and run heartbleed.

Usage:

  1. Install docker

  2. Build heartbleed image once:

docker build -t <yourname>/heartbleed github.com/kasimon/docker-heartbleed
  1. Run Heartbleed from image:
$ docker run --rm <yourname>/heartbleed github.com:443
2014/04/09 10:37:28 github.com:443 - SAFE
  1. (optional) Create alias:
$ alias heartbleed="docker run --rm <yourname>/heartbleed"
$ heartbleed github.com:443
2014/04/09 10:37:28 github.com:443 - SAFE
  1. (optional) Publish image in docker index. After publishing you can skip steps 2 and 3 on different nodes:
$  docker push <yourname>/heartbleed

There also exists another dockerized version of heartbleed based on ubuntu (mazzolino/heartbleed-docker) on the docker index.

docker-heartbleed's People

Contributors

glensc avatar kasimon 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

Watchers

 avatar  avatar  avatar  avatar

docker-heartbleed's Issues

"ERROR: dial tcp: i/o timeout"

I'm getting "ERROR: dial tcp: i/o timeout" on most, but not all requests through this docker. It fails on ones I know to be good and some I know to be bad tests.

I'm running docker with sudo at this point.

$ sudo docker run me/heartbleed some.com:443

2014/04/09 15:54:43 some.com:443 - ERROR: dial tcp: i/o timeout

$ sudo docker version
Client version: 0.10.0
Client API version: 1.10
Go version (client): go1.2.1
Git commit (client): dc9c28f
Server version: 0.10.0
Server API version: 1.10
Git commit (server): dc9c28f
Go version (server): go1.2.1
Last stable version: 0.10.0

$ uname -a
Linux Jules 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ grep dns /etc/default/docker
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"

So what's causing the error and how do I mitigate it? Sorry if it's a simple answer. This is my first docker exposure.

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.