Ho to run go code on coreos

27 views
Skip to first unread message

Roland Bole

unread,
Apr 16, 2017, 4:36:31 AM4/16/17
to CoreOS User
Hi,
how can I run my go code in coreos. If I do 

go version I go
go: command not found


Euan Kemp

unread,
Apr 16, 2017, 1:18:49 PM4/16/17
to coreo...@googlegroups.com
Container Linux doesn't ship the go toolchain in the base OS.
If you need to run the compiler, you can run it in a container (e.g. via
`docker run golang:1.8 go version`).

If you just need to run your code, I recommend building a container with
the program's binary and running that.

- Euan

signature.asc
Reply all
Reply to author
Forward
0 new messages