Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: minimal gocommands docker image #36

Open
edwins opened this issue Jul 1, 2024 · 2 comments
Open

feature request: minimal gocommands docker image #36

edwins opened this issue Jul 1, 2024 · 2 comments
Assignees

Comments

@edwins
Copy link
Member

edwins commented Jul 1, 2024

Given the pervasiveness of containers, it would be nice to have a docker image that would have gocommands installed.

A couple suggestions

  • use alpine
  • auto build and deploy to dockerhub cyverse organization with ever new release
@iychoi
Copy link
Member

iychoi commented Jul 11, 2024

Will work on it soon.

@iychoi iychoi self-assigned this Jul 11, 2024
@iychoi
Copy link
Member

iychoi commented Jul 12, 2024

Just realized that dockering the tool incurs several issues.

  • passing configuration: user must type configuration params (host, useraccout and password) everytime he runs gocommands. As configuration at host is not accessible in docker container.
  • volume mount for configuration sharing: sharing ~/.irods dir with docker container will allow gocommands running in the container to access the configuration file. But password file cannot be decrypted as it requires the same uid as host while docker container manages uids independently. This means he should type password every time. To type password, need to also pass -t -i flags. Docker command will get longer like -v ~/.irods:/root/.irods -it ...
  • source and dest params passed to gocommands are files/dirs in the docker container, not local. This will confuse a lot of users.

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants