
Hi,
I am wondering if the instructions given in https://wiki.list.org/DEV/Mailman%203.0/Mailman%203.0%20Suite%20Dockerfile are still valid. I am running Docker on Windows, and following these instructions, but it fails with:
docker build -t mailman3 . ..... ..... ..... ln: failed to create symbolic link '/usr/bin/node': File exists The command '/bin/sh -c apt-get install -y nodejs npm && npm install -g less && ln -s /usr/bin/nodejs /usr/bin/node' returned a non-zero code: 1
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."

Hi,
As that uses Mailman-Bundler now its probably not the best way even if it still works. I would recommend looking at the repo here:
https://github.com/maxking/docker-mailman
Hope this helps. Andrew.
From: Mailman-Users [mailman-users-bounces+andrew=hodgson.io@python.org] on behalf of Odhiambo Washington [odhiambo@gmail.com] Sent: 23 November 2018 15:06 To: mailman-users@python.org Subject: [Mailman-Users] Mailman 3 on Docker
Hi,
I am wondering if the instructions given in https://wiki.list.org/DEV/Mailman%203.0/Mailman%203.0%20Suite%20Dockerfile are still valid. I am running Docker on Windows, and following these instructions, but it fails with:
docker build -t mailman3 . ..... ..... ..... ln: failed to create symbolic link '/usr/bin/node': File exists The command '/bin/sh -c apt-get install -y nodejs npm && npm install -g less && ln -s /usr/bin/nodejs /usr/bin/node' returned a non-zero code: 1
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/andrew%40hodgson.io

I looked at the link you've suggested and it seems like it's meant for someone running docker on Linux, not Windows which is what I'm trying to test this on. The mkdir /opt..
On Fri, Nov 23, 2018, 19:02 Andrew Hodgson <andrew@hodgson.io wrote:
Hi,
As that uses Mailman-Bundler now its probably not the best way even if it still works. I would recommend looking at the repo here:
https://github.com/maxking/docker-mailman
Hope this helps. Andrew.
From: Mailman-Users [mailman-users-bounces+andrew=hodgson.io@python.org] on behalf of Odhiambo Washington [odhiambo@gmail.com] Sent: 23 November 2018 15:06 To: mailman-users@python.org Subject: [Mailman-Users] Mailman 3 on Docker
Hi,
I am wondering if the instructions given in https://wiki.list.org/DEV/Mailman%203.0/Mailman%203.0%20Suite%20Dockerfile are still valid. I am running Docker on Windows, and following these instructions, but it fails with:
docker build -t mailman3 . ..... ..... ..... ln: failed to create symbolic link '/usr/bin/node': File exists The command '/bin/sh -c apt-get install -y nodejs npm && npm install -g less && ln -s /usr/bin/nodejs /usr/bin/node' returned a non-zero code: 1
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/andrew%40hodgson.io

Hi,
Can't you just use the relevant volume mounts to the Windows box? I have ran these containers on Windows when I did testing, although I ran Postgres outside of the containers on the Windows machine itself as I have seen issues with volume mounts for that one.
Andrew.
From: Odhiambo Washington [odhiambo@gmail.com] Sent: 23 November 2018 16:23 To: Andrew Hodgson Cc: mailman-users@python.org Subject: Re: [Mailman-Users] Mailman 3 on Docker
I looked at the link you've suggested and it seems like it's meant for someone running docker on Linux, not Windows which is what I'm trying to test this on. The mkdir /opt..
On Fri, Nov 23, 2018, 19:02 Andrew Hodgson <andrew@hodgson.io<mailto:andrew@hodgson.io> wrote: Hi,
As that uses Mailman-Bundler now its probably not the best way even if it still works. I would recommend looking at the repo here:
https://github.com/maxking/docker-mailman
Hope this helps. Andrew.
From: Mailman-Users [mailman-users-bounces+andrew=hodgson.io@python.org<mailto:hodgson.io@python.org>] on behalf of Odhiambo Washington [odhiambo@gmail.com<mailto:odhiambo@gmail.com>] Sent: 23 November 2018 15:06 To: mailman-users@python.org<mailto:mailman-users@python.org> Subject: [Mailman-Users] Mailman 3 on Docker
Hi,
I am wondering if the instructions given in https://wiki.list.org/DEV/Mailman%203.0/Mailman%203.0%20Suite%20Dockerfile are still valid. I am running Docker on Windows, and following these instructions, but it fails with:
docker build -t mailman3 . ..... ..... ..... ln: failed to create symbolic link '/usr/bin/node': File exists The command '/bin/sh -c apt-get install -y nodejs npm && npm install -g less && ln -s /usr/bin/nodejs /usr/bin/node' returned a non-zero code: 1
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
Mailman-Users mailing list Mailman-Users@python.org<mailto:Mailman-Users@python.org> https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/andrew%40hodgson.io

I'll try that then.
On Fri, Nov 23, 2018, 19:43 Andrew Hodgson <andrew@hodgson.io wrote:
Hi,
Can't you just use the relevant volume mounts to the Windows box? I have ran these containers on Windows when I did testing, although I ran Postgres outside of the containers on the Windows machine itself as I have seen issues with volume mounts for that one.
Andrew.
From: Odhiambo Washington [odhiambo@gmail.com] Sent: 23 November 2018 16:23 To: Andrew Hodgson Cc: mailman-users@python.org Subject: Re: [Mailman-Users] Mailman 3 on Docker
I looked at the link you've suggested and it seems like it's meant for someone running docker on Linux, not Windows which is what I'm trying to test this on. The mkdir /opt..
On Fri, Nov 23, 2018, 19:02 Andrew Hodgson <andrew@hodgson.io<mailto: andrew@hodgson.io> wrote: Hi,
As that uses Mailman-Bundler now its probably not the best way even if it still works. I would recommend looking at the repo here:
https://github.com/maxking/docker-mailman
Hope this helps. Andrew.
From: Mailman-Users [mailman-users-bounces+andrew=hodgson.io@python.org <mailto:hodgson.io@python.org>] on behalf of Odhiambo Washington [ odhiambo@gmail.com<mailto:odhiambo@gmail.com>] Sent: 23 November 2018 15:06 To: mailman-users@python.org<mailto:mailman-users@python.org> Subject: [Mailman-Users] Mailman 3 on Docker
Hi,
I am wondering if the instructions given in https://wiki.list.org/DEV/Mailman%203.0/Mailman%203.0%20Suite%20Dockerfile are still valid. I am running Docker on Windows, and following these instructions, but it fails with:
docker build -t mailman3 . ..... ..... ..... ln: failed to create symbolic link '/usr/bin/node': File exists The command '/bin/sh -c apt-get install -y nodejs npm && npm install -g less && ln -s /usr/bin/nodejs /usr/bin/node' returned a non-zero code: 1
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
Mailman-Users mailing list Mailman-Users@python.org<mailto: Mailman-Users@python.org> https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/andrew%40hodgson.io
participants (2)
-
Andrew Hodgson
-
Odhiambo Washington