IceWhaleTech / CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
https://casaos.io
Apache License 2.0
26.21k stars 1.43k forks source link

[Alpha][Bug] Docker networks not customizable [CasaOS 0.4.4] #1156

Open AmadeusGraves opened 1 year ago

AmadeusGraves commented 1 year ago

Describe the bug Docker containers with more than one application do not have the possibility to modify the network name in the ui and auto-generate one.

To Reproduce Steps to reproduce the behavior:

  1. Go to custom install
  2. Click on import
  3. Scroll down to paste this docker compose
    
    version: '3'

services: ttrss: image: wangqiru/ttrss container_name: ttrss restart: always environment:

Expected behavior Be able to edit the network name

Screenshots Capture 1 SmartSelect_20230531_215325_Brave

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

AmadeusGraves commented 1 year ago

Sorry @tigerinus, i created this issue but i didn't select the alpha bug

tigerinus commented 1 year ago

This is more of a incomplete UI instead of a bug.

tigerinus commented 1 year ago

@AmadeusGraves - also the reason you are seeing playful_antonio_ttrss is because this docker compose YAML does not have a name: property, so CasaOS decided to give it a random name.

ETWang1991 commented 1 year ago

image Maybe this will work? @AmadeusGraves

AmadeusGraves commented 1 year ago

Yes, this way in case the user has not specified the network, he can at least select another option.