Skip to content

A go application has been deployed to docker container using an image configuration based on the requirements.

Notifications You must be signed in to change notification settings

ihumaunkabir/go-docker-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy go application in Docker Container

A go application has been deployed to docker container using an image configuration based on the requirements.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Docker

Installation

  1. Clone the repo
git clone https://github.com/oasiscse/go-docker-deployment.git
  1. Go to project directory and build image -
docker build . -t go-docker-dep
  1. To run the image (a running image is container)
docker run -p 3000:3000 go-docker-dep

Test the server is running

  1. Go to http://localhost:3000 (YourHostIP:3000)

Response

{"Greetings" : "You are awesome!"}

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Open a Pull Request

License

Distributed under the MIT License.

Contact

Tweet me - @ihumaunkabir
Find me on ihumaun.com

About

A go application has been deployed to docker container using an image configuration based on the requirements.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published