Building Go Executables: The cgo / Docker Problem

preview_player
Показать описание
In this example, we want to build a web server in Docker. @MikiTebeka shows us how cgo can create some roadblocks with our Alpine Docker image and how to solve them.

Quick answer: When you try to run Docker and get a ‘not found’ error, it may be due to cgo using an external library. Set cgo_enabled=0 in order to tell Go not to use cgo at all.

----

Other Links:
Рекомендации по теме
Комментарии
Автор

The link of the full online courses is missing the www

Luix