Answers.Body: <p>To answer myself, permissions were problem.
  After nitro create, had to set 777 permissions to that newly created folder and run nitro composer install. Than nitro craft setup installs everything correctly and now have fully functional Nitro Craft CMS. Not really liking it to have 777, but at least I can do some tests.</p>
  <p>I guess it is related to this <a href="https://github.com/craftcms/nitro/issues/391" rel="nofollow noreferrer">https://github.com/craftcms/nitro/issues/391</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-05T22:06:49.383Z
Answers.LastActivityDate: 2022-06-05T22:06:49.383Z
Answers.UserDisplayName: Srecko Micic
Body: <p>I am having hard time installing Nitro Craft, I am probably have to do it manually. Spent entire day and not getting much of progress.
  Anyways, I suspect that main issue I have is that I am on Linux, Ubuntu and using latest Docker Desktop, not as suggested Docker Engine.</p>
  <ol>
  <li>First issue I encounter is that Nitro is looking for sock in /var/run/docker.sock but with Docker Desktop it is under home folder. Even though Docker context shows it should use that environment. So Nitro Init dose not work. I did workaround it with symlinking. Than Nitro Init seems to do some work, I see containers in Docker Desktop.</li>
  </ol>
  <p><a href="https://i.sstatic.net/ot2sc.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ot2sc.png" alt="enter image description here" /></a></p>
  <ol start="2">
  <li>But I got another issue when I try to create project with Nitro create. It seems that it works, it also creates container, but composer really does not download anything. It builds folders, creates .htaccess files, but no other files. Not creating vendor folder at all. So I am getting Fatal errors when try to access website. I do have permission warning or error on .composer.lock too, during project creation or if I fire 'nitro compose install' later on.</li>
  </ol>
  <p>Anyone manage to successfully install it in this environment?</p>
  
Tags: <craft3>
Title: Installation issues of Nitro Craft on Linux
ThreadText: # Installation issues of Nitro Craft on Linux
  
  (Asked by: username_0 on 2022-06-05)
  
  I am having hard time installing Nitro Craft, I am probably have to do it manually. Spent entire day and not getting much of progress.
  Anyways, I suspect that main issue I have is that I am on Linux, Ubuntu and using latest Docker Desktop, not as suggested Docker Engine.
  
  1. First issue I encounter is that Nitro is looking for sock in /var/run/docker.sock but with Docker Desktop it is under home folder. Even though Docker context shows it should use that environment. So Nitro Init dose not work. I did workaround it with symlinking. Than Nitro Init seems to do some work, I see containers in Docker Desktop.
  
  [![enter image description here](https://i.sstatic.net/ot2sc.png)](https://i.sstatic.net/ot2sc.png)
  
  2. But I got another issue when I try to create project with Nitro create. It seems that it works, it also creates container, but composer really does not download anything. It builds folders, creates .htaccess files, but no other files. Not creating vendor folder at all. So I am getting Fatal errors when try to access website. I do have permission warning or error on .composer.lock too, during project creation or if I fire 'nitro compose install' later on.
  
  Anyone manage to successfully install it in this environment?
  
  **Tags:** craft3
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-06-05. Score: 1
  
  To answer myself, permissions were problem.
  After nitro create, had to set 777 permissions to that newly created folder and run nitro composer install. Than nitro craft setup installs everything correctly and now have fully functional Nitro Craft CMS. Not really liking it to have 777, but at least I can do some tests.
  
  I guess it is related to this <https://github.com/craftcms/nitro/issues/391>
  
  
  ---
  
  