semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Feature: pywinrm[kerberos] support built into docker containers

Open gawainXX opened this issue 10 months ago • 2 comments

Related to

Docker

Impact

nice to have for enterprise usage

Missing Feature

Greetings, It's nice to see there is winrm support built into the docker container, although that support is fairly limited without kerberos support.

I have to install the following within the docker container in order to get kerberos auth (via vaulted creds) to work against domain member systems.

apk packages:

  • krb5
  • krb5-dev
  • gcc
  • musl-dev
  • python3-dev

python pip packages:

  • pywinrm[kerberos]

Implementation

Would it be possible to add these into the docker build?

Design

No response

gawainXX avatar Feb 10 '25 23:02 gawainXX

I forgot to add, I'm currently using semaphoreui/semaphore:v2.12.4-ansible2.16.5

gawainXX avatar Feb 10 '25 23:02 gawainXX

+1 on this.. Seems wierd leaving this out. My primary use case is managing both windows & linux servers. Would make it a little bit more simple to deploy.

best-74 avatar Jun 12 '25 06:06 best-74

I've had to use a post_start docker hook in my compose to handle this:

services:
  semaphore:
    post_start:
      - user: root 
        command: ln -s /home/semaphore/.ssh/known_hosts /etc/ssh/ssh_known_hosts
      - user: root
        command: >
          apt-get install  krb5 krb5-dev gcc  musl-dev
          python3-dev  libkrb5-dev  kbr5-config &&  pip install -r
          /tmp/win_requirements.txt
# ... the rest of the file

tradiuz avatar Jun 16 '25 18:06 tradiuz