You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can i change the docker network when a vsts container is created?
When creating a new container, vsts agent creates it is own random network.
i tried the settings;
container:
image: my_container
options: --pull=missing --network bridge
but it is always created the vsts_network:
/usr/bin/docker create --name xxx --label d2e6c3 --network vsts_network_b6afc1df51e6422b92b16d970a38edcc --pull=missing --network bridge -v "/var/run/docker.sock":"/var/run/docker.sock" -v .....
docker: conflicting options: cannot attach both user-defined and non-user-defined network-modes.
Versions
Azure Devops Agent 3.232.x
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Operation system
2022
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response
The text was updated successfully, but these errors were encountered:
Describe your question
Can i change the docker network when a vsts container is created?
When creating a new container, vsts agent creates it is own random network.
i tried the settings;
container:
image: my_container
options: --pull=missing --network bridge
but it is always created the vsts_network:
/usr/bin/docker create --name xxx --label d2e6c3 --network vsts_network_b6afc1df51e6422b92b16d970a38edcc --pull=missing --network bridge -v "/var/run/docker.sock":"/var/run/docker.sock" -v .....
docker: conflicting options: cannot attach both user-defined and non-user-defined network-modes.
Versions
Azure Devops Agent 3.232.x
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Operation system
2022
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response
The text was updated successfully, but these errors were encountered: