Skip to content
clach04 edited this page Feb 7, 2020 · 11 revisions

Welcome to the docker-pebble-dev wiki!

A combination of pebble-dev, Docker, and Windows Docker notes.

Build Docker image

docker build -t clach04/docker-pebble-dev .

NOTE if apt-get complains about items being is not valid yet until the future, some clock drift has occurred between Docker and the host. Restart DOcker (or entire machine), under Windows use the GUI for Linux issue:

docker-machine restart default

Windows file hosting not reliable

If get errors ValueError: ZIP does not support timestamps before 1980 or error: ushort format requires 0 <= number <= USHRT_MAX this is likely a filesystem hosting issue. See https://github.com/bboehmke/docker-pebble-dev/issues/6

Permission denied probably means something wrong with -v flag, see https://github.com/Spitemare/rebble-docker/issues/5

X11 Display

If you have your machine firewall disabling auth on X server in Windows makes life very easy.

DISPLAY can be set to host.docker.internal (hostnames tend not to work, IP addresses do and so does Docker standard names). E.g.:

docker run --name=pebble_screen -e DISPLAY=host.docker.internal:0.0 -it -v %CD%:/pebble clach04/docker-pebble-dev  /bin/bash

Then connect via:

docker start -i -a pebble_screen

Use screen to multiplex so can run emulator and issue emulator commands like config, transcription, etc.

No config in this image so be prepared to set .vimrc as well as .screenrc as well as other niceties like https://github.com/nojhan/liquidprompt

Pebble cheat sheet

pebble install --emulator aplite --logs
pebble install --emulator basalt --logs

pebble emu-app-config

pebble transcribe "Hello, Pebble!"

Linux notes

Check out rebble.sh in https://github.com/Spitemare/rebble-docker - makes using container easier. Windows notes above are more like a short lived virtual machine.

Clone this wiki locally