Install Go In Docker

Install plugins in the Docker container. So you can go from zero to observability in just a few minutes. Version: Edit this page Request doc changes. Go (golang) is a general purpose, higher-level, imperative programming language. Container Linux Windows ARM ARM 64 x86-64 mips64le 386 PowerPC 64 LE IBM Z Programming Languages Official Image. Copy and paste to pull this image. View Available Tags. Creating a Simple Golang App. Let’s create a simple Go app that we’ll containerize. Fire up your terminal and type the following command to create a Go project. $ mkdir go-docker. We’ll use Go modules for dependency management. Change to the root directory of the project and initialize Go modules like so.

  1. Install Go In Docker Windows 10
  2. Install Go In Docker Linux
  3. Install Go-ipfs In Docker

IMPORTANT NOTE: go-swagger is a tool to mainly generate or analyze source code. In order to make it work after successfulinstallation, see the prerequisites on your development environment.

Install Go In Docker Windows 10

Installing from binary distributions

go-swagger releases are distributed as binaries that are built from signed tags. It is published as github release,rpm, deb and docker image.

Docker image

First grab the image:

For Mac And Linux users:


For windows users:

You can put the following in a file called swagger.bat and include it in your path environment variable to act as an alias.


Install Go In Docker

Static binary

You can download a binary for your platform from github:

Debian packages

This repo will work for any debian, the only file it contains gets copied to /usr/bin

RPM packages

This repo should work on any distro that wants rpm packages, the only file it contains gets copied to /usr/bin


Installing from source

Install or update from current source master:

To install a specific version from source an appropriate tag needs to be checked out first (e.g. v0.25.0). Additional -ldflags are just to make swagger version command print the version and commit id instead of dev.

Install Go In Docker Linux

You are welcome to clone this repo and start contributing:

Install Go-ipfs In Docker

NOTE: go-swagger works on *nix as well as Windows OS