<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>49970</bug_id>
          
          <creation_ts>2024-04-09 13:41:28 +0300</creation_ts>
          <short_desc>При попытке создать новую машину вылезает ошибка создания интерфейса hostonly.</short_desc>
          <delta_ts>2024-04-09 13:41:28 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>docker-machine</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Горев Андрей">nekapitan2009</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>244429</commentid>
    <comment_count>0</comment_count>
    <who name="Горев Андрей">nekapitan2009</who>
    <bug_when>2024-04-09 13:41:28 +0300</bug_when>
    <thetext>Команда
docker-machine create &lt;имя машины&gt;
 выдаёт ошибку. Пример:
 &gt;] docker-machine create second
Running pre-create checks...
Creating machine...
(second) Copying /home/givme/.docker/machine/cache/boot2docker.iso to /home/givme/.docker/machine/machines/second/boot2docker.iso...
(second) Creating VirtualBox VM...
(second) Creating SSH key...
(second) Starting the VM...
(second) Check network to re-create if needed...
(second) Creating a new host-only adapter produced an error: Failed to create host-only adapter
(second) This is a known VirtualBox bug. Let&apos;s try to recover anyway...
Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue

   Версия docker:
Docker version 26.0.0, build 2ae903e
   Версия virtualbox (используется Docker на Linux в качестве виртуальной машины):
7.0.14r161095
   Так что версия ВЫШЕ чем 5.0.12 и вроде бы всё должно работать, но не работает. Сама сеть hostonly может быть создана командой VirtualBox такой:
   VBoxManage hostonlyif create 
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Интерфейс &apos;vboxnet2&apos; успешно создан
  И как бы создаётся, но ошибка выводится и команда docker-machine заканчивается неуспехом.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>