sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
36.13k stars 1.78k forks source link

Error: curl: (3) URL using bad/illegal format or missing URL #712

Open lidernetworktecnologia opened 8 months ago

lidernetworktecnologia commented 8 months ago

When executing the command, curl gives an error, I would like to know how to solve it because it doesn't get past this message:

docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e GENERATE_UNIQUE=true -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' sickcodes/docker-osx:ventura Unable to find image 'sickcodes/docker-osx:ventura' locally ventura: Pulling from sickcodes/docker-osx 81811940900b: Pull complete 90fb557f22bc: Pull complete 1808b2005444: Pull complete 81a7e0af2d5d: Pull complete fb839a476f80: Pull complete 1d96dc3ccf5b: Pull complete 62b353c36104: Pull complete 2cdadc512688: Pull complete 14a215ac872a: Pull complete 41ad5d2c0c1c: Pull complete 0466298e0b1e: Pull complete 3d24e0cfa7d5: Pull complete c7e7e82764ff: Pull complete a088190cd420: Pull complete e2ef5304c83f: Pull complete 27c19a5309f2: Pull complete 28253940329a: Pull complete 615f93010234: Pull complete 10e37f9d2992: Pull complete 130d364d2ead: Pull complete 88b5b3836198: Pull complete 9556085d25cf: Pull complete Digest: sha256:0a41097fb20312ffeb3b30f2489acf316eae3ec7d576d95aba96f35ee2680cb9 Status: Downloaded newer image for sickcodes/docker-osx:ventura DEVICE_MODEL: iMacPro1,1 SERIAL_SET_COUNT: 1 OUTPUT_DIRECTORY: . Cloning into 'OpenCorePkg'... remote: Enumerating objects: 1723, done. remote: Counting objects: 100% (1723/1723), done. remote: Compressing objects: 100% (1500/1500), done. Receiving objects: 100% (1723/1723), 15.36 MiB | 846.00 KiB/s, done. remote: Total 1723 (delta 372), reused 697 (delta 167), pack-reused 0 Resolving deltas: 100% (372/372), done. make: Entering directory '/home/arch/OSX-KVM/OpenCorePkg/Utilities/macserial' cc Linux_X64/macserial.o Linux_X64/UserPseudoRandom.o -o macserial strip -x macserial make: Leaving directory '/home/arch/OSX-KVM/OpenCorePkg/Utilities/macserial' File: ./macserial Size: 1045376 Blocks: 2048 IO Block: 4096 regular file Device: 0,305 Inode: 262825 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 1000/ arch) Gid: ( 1000/ arch) Access: 2023-10-29 13:24:12.379666107 +0000 Modify: 2023-10-29 13:24:12.379666107 +0000 Change: 2023-10-29 13:24:12.379666107 +0000 Birth: 2023-10-29 13:24:12.339665858 +0000 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 57208 0 57208 0 0 82540 0 --:--:-- --:--:-- --:--:-- 82670 "iMacPro1,1","C02W10CXHX87","C027535014NJG36UE","F29D658A-4221-4865-B07A-72F1833D0CC7",":5F:F0:87","1920","1080","" Wrote CSV to: ./serial_sets-2023-10-29-13:23:50.csv iMacPro1,1 C02W10CXHX87 C027535014NJG36UE F29D658A-4221-4865-B07A-72F1833D0CC7 :5F:F0:87 1920 1080 Wrote TSV to: ./serial.tsv curl: (3) URL using bad/illegal format or missing URL

y2k04 commented 8 months ago

Can confirm

y2k04 commented 8 months ago

Just figured out how to get rid of this error!

From the docker command, change -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' to-e "MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist"