diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/APITab/APITab.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/APITab/APITab.tsx
index 21cd917fa..3b39cd44d 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/APITab/APITab.tsx
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/APITab/APITab.tsx
@@ -4,13 +4,12 @@ import { APIForm } from './APIForm';
interface Props {
onCreate(environment: Environment): void;
- isDockerStandalone?: boolean;
}
-export function APITab({ onCreate, isDockerStandalone }: Props) {
+export function APITab({ onCreate }: Props) {
return (
);
}
diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx
index 2ff6bc0e8..0c5fba9d1 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx
@@ -10,7 +10,6 @@ import { LoadingButton } from '@@/buttons/LoadingButton';
import { FormControl } from '@@/form-components/FormControl';
import { Input } from '@@/form-components/Input';
import { SwitchField } from '@@/form-components/SwitchField';
-import { InsightsBox } from '@@/InsightsBox';
import { NameField } from '../../shared/NameField';
import { MoreSettingsSection } from '../../shared/MoreSettingsSection';
@@ -20,10 +19,9 @@ import { FormValues } from './types';
interface Props {
onCreate(environment: Environment): void;
- isDockerStandalone?: boolean;
}
-export function SocketForm({ onCreate, isDockerStandalone }: Props) {
+export function SocketForm({ onCreate }: Props) {
const [formKey, clearForm] = useReducer((state) => state + 1, 0);
const initialValues: FormValues = {
name: '',
@@ -49,35 +47,7 @@ export function SocketForm({ onCreate, isDockerStandalone }: Props) {
-
- {isDockerStandalone && (
-
-
- From 2.18 on, the set-up of available GPUs for a Docker
- Standalone environment has been shifted from Add
- environment and Environment details to Host -> Setup,
- so as to align with other settings.
-
-
- A toggle has been introduced for enabling/disabling
- management of GPU settings in the Portainer UI - to
- alleviate the performance impact of showing those
- settings.
-
-
- The UI has been updated to clarify that GPU settings
- support is only for Docker Standalone (and not Docker
- Swarm, which was never supported in the UI).
-
- >
- }
- header="GPU settings update"
- insightCloseId="gpu-settings-update-closed"
- />
- )}
-
+
diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketTab.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketTab.tsx
index 3fbbf6281..a93b0e253 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketTab.tsx
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketTab.tsx
@@ -6,19 +6,15 @@ import { SocketForm } from './SocketForm';
interface Props {
onCreate(environment: Environment): void;
- isDockerStandalone?: boolean;
}
-export function SocketTab({ onCreate, isDockerStandalone }: Props) {
+export function SocketTab({ onCreate }: Props) {
return (
<>
-
+
>
);
diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx
index 3fc8112e5..1f1904fbb 100644
--- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx
+++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/WizardDocker.tsx
@@ -101,14 +101,12 @@ export function WizardDocker({ onCreate, isDockerStandalone }: Props) {
return (
onCreate(environment, 'dockerApi')}
- isDockerStandalone={isDockerStandalone}
/>
);
case 'socket':
return (
onCreate(environment, 'localEndpoint')}
- isDockerStandalone={isDockerStandalone}
/>
);
case 'edgeAgentStandard':