Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation problem #548

Open
tiari opened this issue Oct 1, 2020 · 10 comments
Open

installation problem #548

tiari opened this issue Oct 1, 2020 · 10 comments

Comments

@tiari
Copy link

tiari commented Oct 1, 2020

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

@retgits
Copy link
Contributor

retgits commented Oct 1, 2020

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.

@tiari
Copy link
Author

tiari commented Oct 2, 2020

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
Copy link
Author

tiari commented Oct 2, 2020

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.

@retgits
Copy link
Contributor

retgits commented Oct 2, 2020

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

@tiari
Copy link
Author

tiari commented Oct 2, 2020 via email

@retgits
Copy link
Contributor

retgits commented Oct 2, 2020

Awesome! Good luck on your Flogo journey

@tiari
Copy link
Author

tiari commented Oct 7, 2020 via email

@ayh20
Copy link
Contributor

ayh20 commented Oct 7, 2020

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 ;-)

@sunblack110
Copy link

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

@ayh20
Copy link
Contributor

ayh20 commented Jul 29, 2021

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants