Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
gpu-base-image-build
Commits
90f95878
Commit
90f95878
authored
Sep 19, 2024
by
chenpangpang
Browse files
feat: 解决bug
parent
06c201d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
script/save.sh
script/save.sh
+2
-1
No files found.
script/save.sh
View file @
90f95878
...
...
@@ -10,4 +10,5 @@ image_name=$1
# 使用tr命令将:替换为-
filename
=
$(
echo
"
$image_name
"
.tar |
tr
':'
'-'
)
echo
"docker save -o
$filename
$image_name
"
\ No newline at end of file
docker save
-o
$filename
$image_name
echo
"The image has been saved as
$filename
"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment