Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 3. Known Issues


This section describes issues that users of Red Hat Container Development Kit 2.4 may encounter, as well as possible workarounds for these issues.

3.1. General Issues

Issues affecting all supported platforms.

3.1.1. Vagrantfile for Individual Users is Ignored When Using a Proxy

A Vagrantfile for a specific user does not use the supplied username and password if configured to use a proxy. The following file created in ~/.vagrant.d/Vagrantfile does not work as expected:

Vagrant.configure(2) do |config|
  config.registration.username = "actual_username"
  config.registration.password = "actual_password"
end
Copy to Clipboard Toggle word wrap

Specifying the username and password by using environment variables has the same result:

~]$ export PROXY="proxy_addr"
~]$ export PROXY_USER="actual_user"
~]$ export PROXY_PASSWORD="actual_password"
Copy to Clipboard Toggle word wrap

The user will be prompted interactively for the username and password in either case.

If no proxy is set, Container Development Kit uses the username and password supplied in ~/.vagrant.d/Vagrantfile.

3.2. Issues on Microsoft Windows

This section describes issues that only affect users on a Microsoft Windows host system.

3.2.1. vagrant service-manager Output Shows Paths With Cygwin Syntax

The output from vagrant service-manager does not follow Microsoft Windows CMD.exe syntax. The path given does not work outside of Cygwin. The following error is shown:

C:\DevelopmentSuite\cdk\componenets\rhel\rhel-ose> mkdir C:\tmp
C:\DevelopmentSuite\cdk\componenets\rhel\rhel-ose> vagrant service-manager install-cli openshift --path C:\tmp

# Binary now available at /cygdrive/c/tmp
# run binary as:
# oc <command>
export PATH=/cygdrive/c/tmp:$PATH

# run following command to configure your shell:
# eval "$(VAGRANT_NO_COLOR=1 vagrant service-manager install-cli openshift --path /cygdrive/c/tmp | tr -d '\r')"
Copy to Clipboard Toggle word wrap

The correct syntax for Microsoft Windows paths includes the drive letter and path available in Microsoft Windows outside of Cygwin, in this case C:\tmp

3.2.2. Using Cygwin Syntax for a Path Causes an Error

The vagrant service-manager install-cli command with --path option does not work when using Cygwin syntax on both Microsoft Windows 7 and 10. The following error is shown:

~] $ vagrant.exe service-manager install-cli openshift --path /cygdrive/c/test
undefined local variable or method `dir_name' for #<VagrantPlugins::ServiceManager::Installer:0x492b130>
Copy to Clipboard Toggle word wrap

To workaround this issue, use the CMD.exe syntax with drive letter for the path, like vagrant.exe service-manager install-cli openshift --path c:/test

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat