Skip to content

Commit

Permalink
Mount tmpfs for /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Oct 29, 2024
1 parent 434f0b6 commit 68a8215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion devpod
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ cmd_run() {
local args
args=(
--rm
-it
--interactive
--tty
--workdir "$CONTAINER_HOME/PWD/$(basename "$PWD")"
--volume "$PWD:$CONTAINER_HOME/PWD/$(basename "$PWD")"
--volume "$XDG_RUNTIME_DIR:$XDG_RUNTIME_DIR"
--tmpfs "/tmp:rw,size=787448k,mode=1777" # TODO: calculate size somehow?
--log-driver none
--hostname "devpod"
--group-add keep-groups
Expand Down

0 comments on commit 68a8215

Please sign in to comment.