Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Error when applying a default hat #178

Closed
@teddy-codes

Description

@teddy-codes
Sending build context to Docker daemon  1.594MB
Step 1/4 : FROM codercom/ubuntu-dev-go
 ---> ddfa4fb9d5f6
Step 2/4 : ENV GO111MODULE=off
 ---> Using cache
 ---> 39381396c7e9
Step 3/4 : LABEL project_root "~/go/src/go.coder.com"
 ---> Using cache
 ---> eec6921916cf
Step 4/4 : LABEL com.coder.sail.base_image=cdr_sshcode
 ---> Using cache
 ---> 38bf6ed2e25f
Successfully built 38bf6ed2e25f
Successfully tagged cdr_sshcode:latest
2019-05-22 21:19:41 INFO        using repo image cdr_sshcode
2019-05-22 21:19:41 INFO        writing sail proxy logs to /tmp/sailproxy_cdr_sshcode985088096
2019-05-22 21:19:41 ERROR       build run failed: failed to run container: failed to inspect image: Error: No such image: 
2019-05-22 21:19:41 ERROR       failed to remove cdr_sshcode

I have a default hat set which is below:

FROM ubuntu

RUN sudo apt install zsh
RUN chsh user -s $(which zsh)

LABEL share.zsh="~/.zshrc:~/.zshrc"

This is very similar to the example provided for fish. Not sure if I am doing something wrong.

sail.toml file:

# sail configuration.
# default_image is the default Docker image to use if the repository provides none.
default_image = "codercom/ubuntu-dev"

# project_root is the base from which projects are mounted.
# projects are stored in directories with form "<root>/<org>/<repo>"
project_root = "~/projects"

# default hat lets you configure a hat that's applied automatically by default.
default_hat = "~/sail"

# default schema used to clone repo in sail run if none given
default_schema = "ssh"

# default host used to clone repo in sail run if none given
default_host = "github.com"

~/sail directory
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions