Skip to content

Bug: Can't use Docker locally ( RPi ) #1334

Closed
@im-coder-lg

Description

@im-coder-lg

OS Information

  • OS: Raspberry Pi OS 11
  • Browser (if applicable): Chrome
  • Architecture: ARM64 (really)
  • coder --version: 0.5.4 w/ commit hash 4c35b81

Steps to Reproduce

Just make a docker-local template and create a workspace w/ it. It would fail(quite horribly for me, might I add so) and it would be confusing, like a jigsaw puzzle thrown everywhere.

Expected

I am supposed to get a cool Docker image on my 8 GB Pi, which has Docker installed.

Actual

Horrible fail where I don't get anything!

Logs

uno momento

pi@geniuspi:~ $ coder create testerrr
Select a template below to preview the provisioned
infrastructure:

  This template has customizable parameters. Values can be
  changed after create, but may have unintended side effects
  (like data loss).

var.docker_image
  What docker image would you like to use for your workspace?

  >  codercom/enterprise-base:ubuntu

┌──────────────────────────────────────────────────────────────┐
│ Workspace Preview                                            │
├──────────────────────────────────────────────────────────────┤
│ RESOURCE                    STATUS      ACCESS               │
├──────────────────────────────────────────────────────────────┤
│ docker_container.workspace  ephemeral                        │
│ └─ dev (linux, amd64)                    coder ssh testerrr  │
├──────────────────────────────────────────────────────────────┤
│ docker_volume.coder_volume  persistent                       │
└──────────────────────────────────────────────────────────────┘
> Confirm create? (yes/no) y
✔ Queued [158ms]
✔ Setting up [6ms]
⧗  Starting workspace
  Terraform 1.1.7
  coder_agent.dev: Plan to create
  docker_volume.coder_volume: Plan to create
  docker_container.workspace[0]: Plan to create
  Plan: 3 to add, 0 to change, 0 to destroy.
  docker_volume.coder_volume: Creating...
  coder_agent.dev: Creating...
  coder_agent.dev: Creation complete after 0s [id=ba2ca72e-64b8-4107-93b6-955a396df03d]
  docker_volume.coder_volume: Creation complete after 0s [id=coder-developer-testerrr-root]
  docker_container.workspace[0]: Creating...
  docker_container.workspace[0]: Creation errored after 2s
  Error: container exited immediately

✘ Starting workspace [6161ms]
exit status 1

Screenshot

brb

pi@geniuspi_.2022-05-07.15-43-25.mp4

Notes

Anybody has an idea on a proper Docker install for Raspberry Pi?

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIdocsArea: coder.com/docs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions