Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Shepherd Enterprise
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Subconscious Compute (Open)
Shepherd Enterprise
Commits
36f58c22
Commit
36f58c22
authored
11 months ago
by
Vipul
Browse files
Options
Downloads
Patches
Plain Diff
chore: prune the system in correct manner
parent
194e7afb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup-debian.sh
+1
-4
1 addition, 4 deletions
setup-debian.sh
with
1 addition
and
4 deletions
setup-debian.sh
+
1
−
4
View file @
36f58c22
...
@@ -337,10 +337,7 @@ setup_docker() {
...
@@ -337,10 +337,7 @@ setup_docker() {
if
[
"
$force_update
"
=
true
]
;
then
if
[
"
$force_update
"
=
true
]
;
then
echo
"Force updating images..."
echo
"Force updating images..."
sudo
docker compose down
sudo
docker compose down
sudo
docker container
ls
-aq
| xargs
--no-run-if-empty
sudo
docker container
rm
-f
sudo
docker system prune
-af
sudo
docker volume
ls
-q
| xargs
--no-run-if-empty
sudo
docker volume
rm
-f
sudo
docker image prune
-f
sudo
docker system prune
-f
sudo
docker compose pull
sudo
docker compose pull
sudo
docker compose
--env-file
./.env up
-d
sudo
docker compose
--env-file
./.env up
-d
else
else
...
...
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