Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/iamtheyammer/go-docker-hello-world-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/iamtheyammer/go-docker-hello-world-api

  • v0.0.0-20200109211018-e43a6296edfd
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-docker-hello-world-api

A teeny tiny API on Docker. Returns a simple OK page. Good for testing this with containers.

Usage

Building

  1. docker build .
  2. docker run -p 8002:8002 {id from last command} (if you set the port, make sure you change those!)

From docker hub

docker run -p 8002:8002 iamtheyammer/go-docker-hello-world-api

Set the port

If you want to set the port the server runs on, you can customize that with the PORT environment variable.

Make sure you change the port in the docker commands-- it's -p hostPort:containerPort.

FAQs

Package last updated on 09 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc