Skip to content

quick start with docker compose is not working #12

@ArmanTaheriGhaleTaki

Description

@ArmanTaheriGhaleTaki

Which example does this problem concern?
quick start with docker compose is not working

Please describe the problem?
I just use this command in quick-start dir

docker compose up 
WARN[0000] /home/arman/programming/examples/quick-start/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 2/2
 ✔ Container quick-start-containerssh-1  Created                                                                                  0.0s 
 ✔ Container quick-start-authconfig-1    Created                                                                                  0.0s 
Attaching to authconfig-1, containerssh-1
authconfig-1    | Test Auth-Config Server is now running...
containerssh-1  | {"timestamp":"2025-01-31T18:18:53Z","level":"debug","code":"CORE_CONFIG_FILE","message":"Using configuration file /etc/containerssh/config.yaml...","details":{}}
containerssh-1  | {"timestamp":"2025-01-31T18:18:53Z","level":"crit","code":"UNKNOWN_ERROR","message":"An unexpected error has happened. (failed to load host key /var/secrets/ssh_host_rsa_key (read /var/secrets/ssh_host_rsa_key: is a directory))","details":{}}
containerssh-1 exited with code 1
Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 2/2
 ✔ Container quick-start-containerssh-1  Stopped                                                                                                                                                                                                         0.0s 
 ✔ Container quick-start-authconfig-1    Stopped      

and this my docker version

Client: Docker Engine - Community
 Version:    27.5.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.20.0
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.32.4
    Path:     /usr/libexec/docker/cli-plugins/docker-compose
Server:
 Server Version: 27.5.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc version: v1.2.4-0-g6c52b3f
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.11.0-14-generic
 Operating System: Ubuntu 24.10
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 6.218GiB
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions