Hi, Aleksanda,

I really appreciate your information.  I believe that someone realized the image wasn't there and quietly got it posted overnight.  When I reran the command it worked, at least somewhat.

Just an unsolicited opinion for the James folks... I'm not sure that one line command as the first thing a new user will see is quite ready for prime-time.   As I mentioned in my first post yesterday, there is an implied assumption that the user understands docker and has it installed.  Nothing against docker. But it has not yet attained ubiquity.  My guess is a lot of new James users will have no idea what it is or where to get it, either for Linux or Windows. And if that's the case, there's no alternative pointer on that home page for non-docker install. Next, the docker install failed for me because port 25 was already in use since aws ec2 Linux automatically installs sendmail and starts it up.  Maybe all new James users will implicitly understand what that error means and how to fix it.  Finally, docker got to the point of creating the dummy user ids and locked up.  Had to kill my puTTY session.  No idea how to try to start/stop the james service and see how much, if any of it, is installed and runable.

I'm not trying to be negative.  That one line install is great if it really works for the majority.  But if a user (even a veteran of JAMES for ~15 years like me) has the problems I've encountered, I would strongly suggest a detailed followup page to go to when the one line install crashes and burns.  If I wasn't a seasoned user of James, and rather a first-timer.... with this supposedly 'super easy' experience to get it up and running, I might decide to go another direction for my MTA needs.  I think we can head that off with a pointer to more info and what to do if things don't go right on that one-line install.

Thx

Jerry


On 8/29/2019 2:53 AM, Aleksandar Stoisavljevic wrote:
Hi Jerry,

I'll try to be brief and not to come into many details of how Docker is
working.
For that, I suggest that you go through some video materials and/or to find
some
really extensive documentation on Internet (blogs, posts, Docker
documentation, books, etc.)

In the meantime, I'll try to explain what happened in your case.

Obviously you've installed Docker correctly as we can see from command
response.

There are actually two concepts in Docker that you have to distinguish:
Docker Image and
Docker Container.
Docker Container is "running version" of Docker Image.

When you stated:

[ec2-user@ip-172-31-47-236 ~]$ docker run -p "25:25" -p "143:143"
linagora/james-jpa-sample:3.3.0

It actually means that it will try to run Docker Container, listening on
host ports 25 and 143, and Container should
be of a Docker Image "linagora/james-jpa-sample:3.3.0".

That image, "linagora/james-jpa-sample:3.3.0", should be availabe either
locally or placed somewhere on Internet, so
Docker can access it and grab it. For this kind of Docker Image store,
usually people use Docker Hub (https://hub.docker.com/),
but there are also other Docker Repositories (private or public).

As you don't have it locally, that Docker Image
("linagora/james-jpa-sample:3.3.0"), therefore you've got that information
in reponse:
"Unable to find image 'linagora/james-jpa-sample:3.3.0' locally".

At that moment, Docker Engine will try to grab that image from Docker Hub.

But unfortunately, I don't see that 3.3.0 version of that image exists.
You can go to URL (https://hub.docker.com/r/linagora/james-jpa-sample/tags)
for yourself and make sure that it doesn't exists.

I don't know how did you get that 3.3.0, maybe it is in some outdated
documentation, but I suggest that you try either with latest tag
(so the command would be  docker run -p "25:25" -p "143:143"
linagora/james-jpa-sample) or if you really have some reasons for 3.3.X
then I would try with docker run -p "25:25" -p "143:143"
linagora/james-jpa-sample:3.3.X

Let's try that and then just reply to this thread.


Than You



On Thu, Aug 29, 2019 at 5:18 AM Jerry Malcolm <techst...@malcolms.com>
wrote:

I was preparing to do a trial run at getting James up and running on an
AWS EC2 instance.  I went to the James home page and saw there is a
1-line command to download and install it.  However, to use that one
line there is apparently an assumption of a full understanding of Docker
and a pre-existing installation of Docker.  Docker isn't automatically
installed with Amazon Linux in an EC2.  I was able to install it with
yum.  But when I entered the command from the JAMES getting started
page, this is what I got:

[ec2-user@ip-172-31-47-236 ~]$ docker run -p "25:25" -p "143:143"
linagora/james-jpa-sample:3.3.0
Unable to find image 'linagora/james-jpa-sample:3.3.0' locally
docker: Error response from daemon: manifest for
linagora/james-jpa-sample:3.3.0 not found.
See 'docker run --help'.

Since there's no url to download james, I assume that the manifest that
it is saying that it can't find contains all of that useful info.  I
know nothing about how Docker works.  Where would I find the missing
manifest, and if it was expected to automatically come with Docker as
implied with the "1-line-download-install" statement, what did I do wrong?

Thx

Jerry


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to