stackbuilders / stackbuilders/hapistrano

Using the Docker image to deploy to localhost produces an error

Open
#130 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug docker low-priority
Dominant language
Haskell
Stars
108
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Currently, if we use the docker image to make deployment to the local computer without specifying localhost as the host on the config file. It produces an error about a not found file.

Expected behavior
By default, if no host is specified, it should set localhost for the target deployment machine

Current behavior
Since a docker image is a contained environment, it's necessary to specify an extra flag for the target host. Otherwise, no host flag will be sent when executing ssh or scp commands

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the configuration handling and the code that constructs the ssh or scp commands for deployment. Reproduce the Docker-to-localhost case without a host setting, then verify that the default target is localhost and the deployment no longer reports a missing file.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, haskell
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.