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.

sail run cdr/sail fails "Unknown option --data-dir" #270

@chafey

Description

@chafey

OS: Ubuntu 18.04 LTS desktop (running in virtual machine)
Docker: 19.03.8
Git: 2.17.1

Here is the end of the console output:

chafey@linuxmint:~$ sail run cdr/sail
2020-04-04 15:22:03 INFO	running docker build --network=host -t cdr_sail -f /home/chafey/Projects/cdr/sail/.sail/Dockerfile /home/chafey/Projects/cdr/sail --label com.coder.sail.base_image=cdr_sail
Sending build context to Docker daemon  9.506MB
Step 1/7 : FROM codercom/ubuntu-dev-go:latest
 ---> 1dae51fcd27f
Step 2/7 : SHELL ["/bin/bash", "-c"]
 ---> Using cache
 ---> 0f2735aed597
Step 3/7 : RUN sudo apt-get update &&     sudo apt-get install -y htop
 ---> Using cache
 ---> 787baab67bde
Step 4/7 : RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash &&   . ~/.nvm/nvm.sh   && nvm install node
 ---> Using cache
 ---> 727021ac2bb8
Step 5/7 : LABEL project_root "~/go/src/go.coder.com"
 ---> Using cache
 ---> 49715d1d7243
Step 6/7 : RUN wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.55.4/hugo_extended_0.55.4_Linux-64bit.deb &&   sudo dpkg -i /tmp/hugo.deb &&   rm -f /tmp/hugo.deb
 ---> Using cache
 ---> f72071ec13e9
Step 7/7 : LABEL com.coder.sail.base_image=cdr_sail
 ---> Using cache
 ---> 9cf7d7d1fd51
Successfully built 9cf7d7d1fd51
Successfully tagged cdr_sail:latest
2020-04-04 15:22:04 INFO	using repo image cdr_sail
2020-04-04 15:22:04 INFO	writing sail proxy logs to /tmp/sailproxy_cdr_sail142932399
2020-04-04 15:22:05 ERROR	failed to wait for project to be online: container cdr_sail not running
+ cd /home/user/go/src/go.coder.com/sail
+ sudo chown user:user /home/user/.vscode
+ code-server --host localhost --port 0 --data-dir /home/user/.config/Code --extensions-dir /home/user/.vscode/host-extensions --extra-extensions-dir /home/user/.vscode/extensions --allow-http --no-auth
+ tee /tmp/code-server.log
Unknown option --data-dir
2020-04-04 15:22:05 ERROR	build run failed: container cdr_sail not running

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