Public | Automated Build

Last pushed: 2 years ago
Short Description
Sublime Text 3 preconfigured for Golang development.
Full Description

Sublime Text 3 for Go

Get started quickly with this docker container of Sublime Text 3 prepared for Golang development.
Came up with this idea for shortening newcomers onboarding time during training sessions.

Getting started

First pull the container.

docker pull jgautheron/sublime-text-go:latest

Then run it!

docker run -it \
   -v $HOME/workspace:/home/subl/workspace \
   -v /tmp/.X11-unix:/tmp/.X11-unix \


  1. $HOME/workspace is the workspace you'd like to work with
  2. You can mount your own config if you already have one: -v $HOME/.config/sublime-text-3/:/home/subl/.config/sublime-text-3
  3. You can mount your own GOPATH: -v /root/go:/home/subl/go

What is inside?

This version contains two plugins:

  • GoSublime
  • Material Theme

ST is configured to run automatically at each save:

  • go build
  • go test
  • go vet
  • golint

The code will be automatically formatted with goimports.


# 'Gtk: cannot open display: :0'
Try to set DISPLAY=your_host_ip:0 or run xhost + on your host.
Read here for more info.


Docker Pull Command
Source Repository