Skip to content

How to use "chromium-browser" command in a docker-compose.yml file #170

@guorun

Description

@guorun

Tag Question

Short summary
How Could I Use Command Lines In docker-compose.yml file? Is that right?

Detailed question

version: '3.8'
services:
  vnc:
    build: .
    container_name: vnc
    ports: 
      - 8080:5901
      - 8081:6901
    user: "0"
    environment:
      - VNC_COL_DEPTH=24
      - VNC_RESOLUTION=1280x1024
      - DEBUG=true
      - OPENBOX_ARGS=--startup "/usr/bin/entrypoint.sh"
    command: --chromium-browser="https://www.google.com"

But It do not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions