flogo icon indicating copy to clipboard operation
flogo copied to clipboard

installation problem

Open tiari opened this issue 5 years ago • 10 comments

What is your question? I have tried to install web ui but it was failed. On re installation attempt it is showing docker run -it -p 3303:3303 flogo/flogo-docker eula-accept

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'.

Please tell us about your environment (Operating system, docker version, browser & web ui version, etc): I am using ubuntu 20.04 amd64 Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X

tiari avatar Oct 01 '20 17:10 tiari

It might be that your user isn't allowed to execute docker commands. Can you confirm that your user is added to the docker group by typing id -nG. The output should show docker as one of the groups.

If you need to add a user to the docker group that you’re not logged in as, declare that username explicitly using sudo usermod -aG docker <username>. If that was the issue, you'll need to log out and log in again before those changes are active.

retgits avatar Oct 01 '20 18:10 retgits

tried but still the problem persists sudo apt install docker.io Reading package lists... Done Building dependency tree
Reading state information... Done docker.io is already the newest version (19.03.8-0ubuntu1.20.04). 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.

tiari avatar Oct 02 '20 09:10 tiari

sudo apt update Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu focal InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:5 http://archive.canonical.com/ubuntu focal InRelease
Get:6 https://download.docker.com/linux/ubuntu focal InRelease [36.2 kB]
Hit:7 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 http://in.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:9 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease Err:6 https://download.docker.com/linux/ubuntu focal InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 Reading package lists... Done W: GPG error: https://download.docker.com/linux/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 E: The repository 'https://download.docker.com/linux/ubuntu focal InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

tiari avatar Oct 02 '20 09:10 tiari

The use of the docker.io package isn't recommended (it's generally an older version). To get the right version, you'll want to uninstall the older versions first:

$ sudo apt-get remove docker docker-engine docker.io containerd runc

and install the docker-ce, which both Ubuntu and Docker recommend:

Update the apt package index and install packages to allow apt to use a repository over HTTPS:

$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

Add the Docker GPG key:

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Add the right repository to get new docker packages from

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

Install the latest version:

 $ sudo apt-get update
 $ sudo apt-get install docker-ce docker-ce-cli containerd.io

There's a great community tutorial from Digital Ocean here that walks through the installation and the install docs from Docker for Ubuntu can be found here

retgits avatar Oct 02 '20 15:10 retgits

great problem resolved..

On Fri, 2 Oct 2020 at 20:57, Leon Stigter [email protected] wrote:

The use of the docker.io package isn't recommended (it's generally an older version). To get the right version, you'll want to uninstall the older versions first:

$ sudo apt-get remove docker docker-engine docker.io containerd runc

and install the docker-ce, which both Ubuntu and Docker recommend:

Update the apt package index and install packages to allow apt to use a repository over HTTPS:

$ sudo apt-get update

$ sudo apt-get install
apt-transport-https
ca-certificates
curl
gnupg-agent
software-properties-common

Add the Docker GPG key:

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Add the right repository to get new docker packages from

$ sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"

Install the latest version:

$ sudo apt-get update $ sudo apt-get install docker-ce docker-ce-cli containerd.io

There's a great community tutorial from Digital Ocean here https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 that walks through the installation and the install docs from Docker for Ubuntu can be found here https://docs.docker.com/engine/install/ubuntu/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TIBCOSoftware/flogo/issues/548#issuecomment-702799377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYI3SM3UQR34MH6WYFE44TSIXWOVANCNFSM4SAXRC7Q .

tiari avatar Oct 02 '20 16:10 tiari

Awesome! Good luck on your Flogo journey

retgits avatar Oct 02 '20 16:10 retgits

Hi, can you guide how to restart the project once shut.. am trying with # docker image ID but not happening

On Fri, 2 Oct 2020 at 22:25, Leon Stigter [email protected] wrote:

Awesome! Good luck on your Flogo journey

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TIBCOSoftware/flogo/issues/548#issuecomment-702843850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYI3SMRL3BC43UZ33H2AF3SIYAWPANCNFSM4SAXRC7Q .

tiari avatar Oct 07 '20 11:10 tiari

In docker you have images and containers ... a container is an instance of a image

You start a container via "docker run " Stopped it via "docker stop " you can restart via "docker start "

if you don't know the id and/or name use docker ps -a

Check out a few Docker tutorials for better usage instructions ;-)

ayh20 avatar Oct 07 '20 11:10 ayh20

is the flogo project still updating, I saw that it is no long updated recent months

sunblack110 avatar Jul 29 '21 04:07 sunblack110

is the flogo project still updating, I saw that it is no long updated recent months

I think you are looking in the wrong place ..... everything moved to https://github.com/project-flogo quite a while back.

https://www.flogo.io/

ayh20 avatar Jul 29 '21 11:07 ayh20