Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-3613

docker: switch current working directory to a writeable directory

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • None
    • 3.1.2
    • None
    • Security Level: Public
    • None
    • CBG Sprint 140
    • 1

    Description

      In Sync Gateway 3.1.2 on github standard configuration, it is not possible to start a database without switching the working directory of the image, due to CBG-3584 which writes files the the current working directory.

      This is due to an unspecified working directory of the image / but it is run as the sync gateway user.

      I recommend changing the working directory to the same directory we use for systemd files, which I think is /home/sync_gateway. Setting this directory when running the container will allow SG to run.

      This is a regression in 3.1.2 (from 3.1.1) in ability to load a database.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tor.colvin Tor Colvin
              tor.colvin Tor Colvin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty