Skip to content

Commit

Permalink
added consistency=cached for the devcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 5, 2024
1 parent e853923 commit 9b4226f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/docker-in-docker/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"workspaceMount": "source=${localWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind",
"workspaceMount": "source=${localWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind,consistency=cached",
"workspaceFolder": "/clab"
}
2 changes: 1 addition & 1 deletion .devcontainer/docker-in-docker_slim/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
]
}
},
"workspaceMount": "source=${localWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind",
"workspaceMount": "source=${localWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind,consistency=cached",
"workspaceFolder": "/clab"
}
2 changes: 1 addition & 1 deletion .devcontainer/docker-outside-of-docker/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@
}
},
"workspaceFolder": "${localWorkspaceFolder}",
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind"
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind,consistency=cached"
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
}
},
"workspaceFolder": "${localWorkspaceFolder}",
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind"
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind,consistency=cached"
}

0 comments on commit 9b4226f

Please sign in to comment.