Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13253

Usage of the -f option for podman is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH134 - RHEL9.0-en-5-20230516
    • RH134
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 13
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

      In ch13s03 "Deploy Containers", heading "Create a Container Image from a Container File", in the discussion of the syntax of the podman build -t NAME:TAG DIR command, in the last sentence of the paragraph defining DIR, the sentence currently reads:

      "Use the -f flag to specify a different directory than the current one."

      This is not true.  The -f flag is used to specify a Containerfile to use; you stil have to specify a directory after that.  So you could have something like

      podman build -t NAME:TAG -f Containerfile.mine DIR

      But the text as written doesn't make sense.

      Split from PTL-5645.

              rhn-support-sdhange Shreya Dhange
              minamot Fusayuki Minamoto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: