harbor icon indicating copy to clipboard operation
harbor copied to clipboard

TODO

Open hrbrmstr opened this issue 8 years ago • 4 comments

  • [ ] Update README
  • [ ] Remove analogsea as a dependency
  • [ ] Go through the various "cloud" R pkgs and see which ones use an API for container ops and which ones just use ssh. The ones that use ssh should prbly just use the new built-in ssh host object.
  • [ ] Make an example S3 host class for an API example in ^^
  • [ ] Create a small library of useful "install" / "run" / "stop" functions (like splashr's docker.r)
  • [ ] Tests

hrbrmstr avatar Feb 09 '17 12:02 hrbrmstr

re:

Go through the various "cloud" R pkgs and see which ones use an API for container ops and which ones just use ssh.

I think I'm of the ssh method, I put my specific to harbor functions in this file: https://github.com/cloudyr/googleComputeEngineR/blob/master/R/harbor_gce.R which includes a gce_instance method for docker_cmd and a function to build docker containers on the host from a local Dockerfile.

MarkEdmondson1234 avatar Feb 09 '17 12:02 MarkEdmondson1234

@hrbrmstr Are you going to be moving to use the Docker API https://docs.docker.com/engine/api/ ? That will be great to solve some issues I have when Windows users can't authenticate in SSH

MarkEdmondson1234 avatar Feb 16 '17 11:02 MarkEdmondson1234

I've been considering adding it as an option. I confess to not using the Docker Engine API ever (cmdline has been sufficient for me). Is it always enabled, now? IIRC the "socket" is always around but the HTTP API requires explicit enabling (that's just a guess from memory tho)

On Thu, Feb 16, 2017 at 6:44 AM, Mark [email protected] wrote:

@hrbrmstr https://github.com/hrbrmstr Are you going to be moving to use the Docker API https://docs.docker.com/engine/api/ ? That will be great to solve some issues I have when Windows users can't authenticate in SSH

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wch/harbor/issues/8#issuecomment-280309235, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfHto02yWB0OEA-vPg4PEEqpdjyG53vks5rdDangaJpZM4L8Cto .

hrbrmstr avatar Feb 16 '17 12:02 hrbrmstr

@hrbrmstr it sounds like you know more than I, I just found it else I may have tried to tackle it before. Even if just the "docker exec" commands could be enabled, it will solve a lot of compatibility problems for me. I could take a look at it if it doesn't interfere with what you are doing?

MarkEdmondson1234 avatar Feb 16 '17 12:02 MarkEdmondson1234