Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LakeDropsDrupalDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
LakeDropsDrupalDev
Commits
a44b8434
Commit
a44b8434
authored
4 years ago
by
Felix Häberle
Browse files
Options
Downloads
Patches
Plain Diff
#62
move user flag to non darwin code
parent
ebb7a71f
No related branches found
No related tags found
1 merge request
!1
Feature/macos
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run/scripts/start
+1
-1
1 addition, 1 deletion
run/scripts/start
with
1 addition
and
1 deletion
run/scripts/start
+
1
−
1
View file @
a44b8434
...
...
@@ -37,7 +37,6 @@ function startContainer {
docker start
${
COMPOSE_PROJECT_NAME
}
_l3d
else
start_params
=(
--user
${
USERID
}
:
${
GROUPID
}
--hostname
${
COMPOSE_PROJECT_NAME
}
-l3d
--group-add
${
GROUPIDS
// / --group-add
}
--env
L3DSHELL
=
${
L3DSHELL
}
...
...
@@ -54,6 +53,7 @@ function startContainer {
)
if
[[
${
L3DHOSTOS
}
!=
Darwin
]]
;
then
start_params+
=(
--user
${
USERID
}
:
${
GROUPID
}
--volume
/etc/group:/etc/group:ro
--volume
/etc/passwd:/etc/passwd:ro
--volume
/etc/shadow:/etc/shadow:ro
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment