Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
f819ee19
Commit
f819ee19
authored
6 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Figure switches
parent
b1a38d96
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Doc/Sdi/docker.xml
+11
-6
11 additions, 6 deletions
Doc/Sdi/docker.xml
with
11 additions
and
6 deletions
Doc/Sdi/docker.xml
+
11
−
6
View file @
f819ee19
...
...
@@ -288,20 +288,25 @@ Deleted: sha256:2c833f307fd8f18a378b71d3c43c575fabdb88955a2198662938ac2a08a99928
<section
xml:id=
"sdiDocker_runningContainer_sect"
>
<title>
Running container
</title>
<figure
xml:id=
"sdiDocker_fig_startNexctcloud"
>
<title>
Starting
<productname>
Nextcloud
</productname>
container
</title>
<screen>
>
docker run -d -p 8080:80 --name nc13 nextcloud
517e3dba488763eb615f2c68d417e1b7fb3a9ce5bb4a5ffc346dcb86c00d13d2
</screen>
</figure>
<figure
xml:id=
"sdiDocker_figListContainer"
>
<title>
List
ing
running containers
</title>
<title>
List running containers
</title>
<screen>
>
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS ... NAMES
5a5efd5685a1 nextcloud "/entrypoint.sh…" 4 hours ago Exited (0) 42 hours ago ... nc13
</screen>
CONTAINER ID IMAGE COMMAND ... PORTS NAMES
517e3dba4887 nextcloud "/entrypoint.sh apac…" ... 0.0.0.0:8080-
>
80/tcp
<emphasis
role=
"red"
>
nc13
</emphasis></screen>
</figure>
<figure
xml:id=
"sdiDocker_figKillProcess"
>
<title>
Remove container
</title>
<screen>
CONTAINER ID IMAGE ... NAMES
5a5efd5685a1 nextcloud ...
<emphasis
role=
"red"
>
nc13
</emphasis></screen>
<screen>
>
docker rm
<emphasis
role=
"red"
>
nc13
</emphasis>
nc13
</screen>
...
...
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