How to containerize your Go code

This report shows how Go programmers can build small, efficient containers for their Go code. It explains what's inside a container image and walks you through how to build and run containers for your Go projects. What you'll learn--and how you can apply it You'll learn how to contain...

Full description

Bibliographic Details
Main Author: Rice, Liz
Format: eBook
Language:English
Published: Sebastopol, CA O'Reilly Media 2017
Edition:First edition
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 02156nmm a2200301 u 4500
001 EB001924543
003 EBX01000000000000001087445
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9781491982310 
050 4 |a QA76.73.G63 
100 1 |a Rice, Liz 
245 0 0 |a How to containerize your Go code  |c Liz Rice 
250 |a First edition 
260 |a Sebastopol, CA  |b O'Reilly Media  |c 2017 
300 |a 1 volume  |b illustrations 
653 |a Logiciels d'application / Développement 
653 |a Application software / Development / fast 
653 |a Go (Computer program language) / fast 
653 |a Go (Computer program language) / http://id.loc.gov/authorities/subjects/sh2012000746 
653 |a Go (Langage de programmation) 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781491982310/?ar  |x Verlag  |3 Volltext 
082 0 |a 000 
520 |a This report shows how Go programmers can build small, efficient containers for their Go code. It explains what's inside a container image and walks you through how to build and run containers for your Go projects. What you'll learn--and how you can apply it You'll learn how to containerize the Go code you're working on, with worked examples to show you exactly what to do. You'll see how to build a container from the scratch image, and why that's a good idea for Go code. You'll also learn how to set up port bindings so that the outside work can connect to the code running in your container, and how to pass in configuration environment variables. This report is for you because... You've heard of containers, but you're not sure whether they're right for your project, or how you would use them in your daily workflow. Prerequisites We'll assume you're comfortable with the command line We're using Go in this lesson but many of the concepts are applicable to other languages as well Materials or downloads needed in advance Install Docker Install the Go tools