ls is showing that the folder pi exists within the directory /home. When you run cd /pi, you are asking to change directory into the absolute location /pi. i.e. a folder called pi in the root directory. That folder doesn’t exist. The command you want is cd pi which while change to the directory pi relative to your current directory. cd /home/pi would also work.
In your previous post, the brewblox directory doesn’t exist yet because the command to install it failed for the reason in my previous post
That looks like it worked. Though you CD’d into your current directory, by the looks of it. You started in the home directory (short hand is ~ shown between : and $ at the line start) of the user pi which will be /home/pi. As a slight aside you can print the directory you’re currently in using the command pwd which stands for Print Working Directory.
Yep. You definitely haven’t got brewblox to install. At least not in your home directory.
Does the command I mentioned above work without errors for you?
If this command works, it will install docker. You can then continue installing brewblox. I think you can select no to trying to install docker when installing brewblox if you already have it installed.
Could you please run docker --version to check if docker has been installed correctly? brewblox-ctl install also uses the sed replace workaround.
In the brewblox install and setup wizards, if it asks you something, and has a value within square brackets, that is the default. When it asks for the install directory, just press enter.
sudo -E sh -c docker version
Client: Docker Engine - Community
Version: 0.0.0-20190717011415-0cd65b8
API version: 1.40
Go version: go1.12.6
Git commit: 0cd65b8
Built: Wed Jul 17 07:44:33 2019
OS/Arch: linux/arm
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 0.0.0-20190717011415-0cd65b8
API version: 1.41 (minimum version 1.12)
Go version: go1.12.6
Git commit: 0cd65b8
Built: Wed Jul 17 07:38:23 2019
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
If you would like to use Docker as a non-root user, you should now consider
adding your user to the “docker” group with something like:
sudo usermod -aG docker pi
Remember that you will have to log out and back in for this to take effect!
General note: when pasting output, put it between triple backticks for better formatting (and make it scrollable if it’s long).
More specific: it seems the docker install went ok. Now run sudo usermod -aG docker pi to add yourself to the docker group, reboot your Pi, and then run brewblox-ctl install.