We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b359417 commit 5f7f551Copy full SHA for 5f7f551
1 file changed
ssh-container/Makefile
@@ -78,10 +78,11 @@ docker-build: ssh-keys client-keys ## Build the container image with specified U
78
@echo " $(CONTAINER_TOOL) inspect $(IMAGE_NAME):$(TAG) | grep -A 10 Labels"
79
80
# Run the container
81
-run: docker-build ## Run the container with SSH service
+run: docker-build ## Run the container with SSH service (as UID 1060 and GID 100)
82
$(CONTAINER_TOOL) run -d \
83
--platform linux/amd64 \
84
--name $(CONTAINER_NAME) \
85
+ --user $(UID):$(GID) \
86
-p $(SSH_PORT):$(SSH_PORT) \
87
-e NNF_CONTAINER_PORTS=$(SSH_PORT) \
88
$(IMAGE_NAME):$(TAG)
0 commit comments