docker_image.my_image: Creation complete after 1m19s [id=sha256:140c1336981db4865013ceeb62a250c1ebdd390261a9f27021b36bf1209d7c75my-image]
Error: Unable to create container with image my_image:develop: unable to pull image my_image:develop:
error pulling image my_image:develop: Error response from daemon: pull access denied for my_image,
repository does not exist or may require 'docker login': denied: requested access to the resource is deniedREPOSITORY TAG IMAGE ID CREATED SIZE
my-image latest 140c1336981d 2 hours ago 1.68GB
my_image develop 140c1336981d 2 hours ago 1.68GBdocker run -it my_image works fine.resource "docker_image" "my_image" {
name = "my-image"
build {
context = "./build"
tag = ["my_image:develop"]
}
}resource "docker_container" "workspace" {
# ...
name = "coder-${data.coder_workspace.me.owner}-${lower(data.coder_workspace.me.name)}"
image = "my_image:develop"
env = ["CODER_AGENT_TOKEN=${coder_agent.main.token}"]
command = ["sh", "-c", coder_agent.main.init_script]
# Use the Sysbox container runtime (required)
runtime = "sysbox-runc"
}name = docker_image.my_image.developFROM codercom/enterprise-base:ubuntu
# install the latest version
USER root
RUN curl -fsSL https://code-server.dev/install.sh | sh
USER coder
# pre-install VS Code extensions
#RUN code-server --install-extension eamodio.gitlens
# directly start code-server with the agent's startup_script (see above),
# or use a process manager like supervisordHi @everyone Coder is heading to SCALE 23x, the Southern California Linux Expo in Pasadena, CA, and we’ve got a few extra passes to give away. If you’re already planning to go or have been thinking about it, I’d love to get a few folks from the community in. Like this post, DM me and I’ll share the details. Would be great to see you there. https://www.socallinuxexpo.org/scale/23x
Marco (Coder Community Manager) · 2mo ago
Hey @everyone, <:CodestronautFlying2:1471517623043883110> Community Week is wrapping up and I wanted to say thank you. To everyone who's filed PRs, reported bugs, answered questions in here, or just shown up to share what you're working on: it all adds up. This week reminded me that the best part of this community isn't really about the product itself. It's the people. Developers helping each other out, sharing half-baked ideas, debugging weird issues together, actually connecting. That's what we want to keep building. More meetups, more conversations, more opportunities to learn from what you're all making. We're planning to have more of you on the podcast this year, and we're hoping to see a bunch of you IRL at meetups. Thanks for being part of this and for making it feel like an actual community, not just a Discord server. Happy Valentine's week
Marco (Coder Community Manager) · 2mo ago
Reminder that we have our first
Marco (Coder Community Manager) · 2mo ago
Join the Discord to ask follow-up questions and connect with the community
Community server for Coder.com, an open-source platform for cloud development environments.
3,487 Members
Join