summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-30 19:04:35 +0100
committerGitHub <noreply@github.com>2020-11-30 19:04:35 +0100
commit9f2c8f267e22897719ee8c3a15202afeaedda547 (patch)
treeea0e985d3f50d389b33fdb403d240e817251fd8c
parentfc85ec942ee3273f5ad56381a0f6b9e78aea59bf (diff)
parent84e8b2afa795ca060f4d2c5206f47d320292ed9b (diff)
downloadpodman-9f2c8f267e22897719ee8c3a15202afeaedda547.tar.gz
podman-9f2c8f267e22897719ee8c3a15202afeaedda547.tar.bz2
podman-9f2c8f267e22897719ee8c3a15202afeaedda547.zip
Merge pull request #8420 from jortkoopmans/patch-1
[CI:DOCS] Update Tutorials.rst
-rw-r--r--docs/source/Tutorials.rst2
-rw-r--r--pkg/specgen/volumes.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/source/Tutorials.rst b/docs/source/Tutorials.rst
index 83818e3ae..e3e869d5b 100644
--- a/docs/source/Tutorials.rst
+++ b/docs/source/Tutorials.rst
@@ -2,7 +2,7 @@
Tutorials
=========
-Here are a number of useful tutorials to get you up and running with Podman. If you are familiar with the Docker `Container Engine`_ the command in Podman_ should be quite familiar. If are brand new to containers, take a look at our `Introduction`.
+Here are a number of useful tutorials to get you up and running with Podman. If you are familiar with the Docker `Container Engine`_ the command in Podman_ should be quite familiar. If you are brand new to containers, take a look at our `Introduction`.
* `Basic Setup and Use of Podman <https://github.com/containers/podman/blob/master/docs/tutorials/podman_tutorial.md>`_: Learn how to setup Podman and perform some basic commands with the utility.
* `Basic Setup and Use of Podman in a Rootless environment <https://github.com/containers/podman/blob/master/docs/tutorials/rootless_tutorial.md>`_: The steps required to setup rootless Podman are enumerated.
diff --git a/pkg/specgen/volumes.go b/pkg/specgen/volumes.go
index 41efee3b3..a4f42d715 100644
--- a/pkg/specgen/volumes.go
+++ b/pkg/specgen/volumes.go
@@ -84,6 +84,7 @@ func GenVolumeMounts(volumeFlag []string) (map[string]spec.Mount, map[string]*Na
return nil, nil, nil, err
}
}
+
// Do not check source dir for anonymous volumes
if len(splitVol) > 1 {
if len(src) == 0 {