Flent-users discussion archives
 help / color / mirror / Atom feed
* [Flent-users] [tohojo/flent] Flent in Docker? (#220)
@ 2021-01-27 12:17 Rich Brown
  2021-01-27 12:49 ` [Flent-users] " Toke Høiland-Jørgensen
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rich Brown @ 2021-01-27 12:17 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

I read an intriguing article - [Run more stuff in Docker](https://jonathan.bergknoff.com/journal/run-more-stuff-in-docker/). It showed a solution to a big frustration: getting the right version of Flent, Python, netperf, and all the other libraries onto my computer without screwing up other software.

Is anyone working on a Dockerfile that bundles up Flent with its preferred support packages? This sounds like a good enhancement to the already enhanced 2.0 version. I don't have a lot of time, but might take it on in the next month to six weeks.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/220

[-- Attachment #2: Type: text/html, Size: 1590 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Flent-users] Re: [tohojo/flent] Flent in Docker? (#220)
  2021-01-27 12:17 [Flent-users] [tohojo/flent] Flent in Docker? (#220) Rich Brown
@ 2021-01-27 12:49 ` Toke Høiland-Jørgensen
  2021-01-28 23:05 ` Rich Brown
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-01-27 12:49 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

Rich Brown <notifications@github.com> writes:

> I read an intriguing article - [Run more stuff in
> Docker](https://jonathan.bergknoff.com/journal/run-more-stuff-in-docker/).
> It showed a solution to a big frustration: getting the right version
> of Flent, Python, netperf, and all the other libraries onto my
> computer without screwing up other software.
>
> Is anyone working on a Dockerfile that bundles up Flent with its
> preferred support packages? This sounds like a good enhancement to the
> already enhanced 2.0 version. I don't have a lot of time, but might
> take it on in the next month to six weeks.

I'm not a huge fan of Docker, so no, no plans for this. If you want to
take a stab at it, go ahead. It does feel a bit overkill for something
as small as Flent, though. What exactly is your problem with getting
Flent to run today?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/220#issuecomment-768263305

[-- Attachment #2: Type: text/html, Size: 2042 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Flent-users] Re: [tohojo/flent] Flent in Docker? (#220)
  2021-01-27 12:17 [Flent-users] [tohojo/flent] Flent in Docker? (#220) Rich Brown
  2021-01-27 12:49 ` [Flent-users] " Toke Høiland-Jørgensen
@ 2021-01-28 23:05 ` Rich Brown
  2021-06-08 19:02 ` xciter327
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Rich Brown @ 2021-01-28 23:05 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 933 bytes --]

>What exactly is your problem with getting Flent to run today? 

It's nothing specific to Flent. I install software sporadically. Whenever I do, I face the kinds of problems described in the article (old 2.7 version of Python, some silly version of Qt, etc.) I don't have a formal system for keeping versions under control. I know about nvm, pyenv, but don't keep them updated. (Oh, yes. and brew, as well...)

It's worse on macOS, because its system Python was (or at least formerly) was acknowledged to be *ancient.* I never really understood which one I was going to get. So...

* I'll treat this as an opportunity to horse around with Docker again.
* I have plenty to do, so if someone wants to snatch it out of my hands, feel free.

Thanks.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/220#issuecomment-769457462

[-- Attachment #2: Type: text/html, Size: 1908 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Flent-users] Re: [tohojo/flent] Flent in Docker? (#220)
  2021-01-27 12:17 [Flent-users] [tohojo/flent] Flent in Docker? (#220) Rich Brown
  2021-01-27 12:49 ` [Flent-users] " Toke Høiland-Jørgensen
  2021-01-28 23:05 ` Rich Brown
@ 2021-06-08 19:02 ` xciter327
  2021-06-08 20:01 ` Toke Høiland-Jørgensen
  2021-09-07 15:41 ` Teoh Han Hui
  4 siblings, 0 replies; 6+ messages in thread
From: xciter327 @ 2021-06-08 19:02 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

Here is what I setup for a quick n dirty testing. It's a pretty "fat" image, but I don't feel like optimizing it at this point. You can probably do away with a bunch of dependencies if You relegate yourself to cli only Flent. It was based on a previous attempt I saw somewhere here.

```
FROM ubuntu:hirsute
RUN apt-get update && apt-get install -y locales software-properties-common && \
    sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
    locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN add-apt-repository ppa:tohojo/flent
RUN apt-get update
RUN apt install -y flent netperf irtt iperf fping bsdmainutils
RUN apt remove software-properties-common locales -y && apt clean && apt autoremove -y && rm -rf /var/lib/apt/lists/*
RUN chown root.root /usr/bin/fping && chmod 4755 /usr/bin/fping
RUN useradd -U -u 1000 flent
USER flent
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/220#issuecomment-857019602

[-- Attachment #2: Type: text/html, Size: 2056 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Flent-users] Re: [tohojo/flent] Flent in Docker? (#220)
  2021-01-27 12:17 [Flent-users] [tohojo/flent] Flent in Docker? (#220) Rich Brown
                   ` (2 preceding siblings ...)
  2021-06-08 19:02 ` xciter327
@ 2021-06-08 20:01 ` Toke Høiland-Jørgensen
  2021-09-07 15:41 ` Teoh Han Hui
  4 siblings, 0 replies; 6+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-06-08 20:01 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

xciter327 ***@***.***> writes:

> Here is what I setup for a quick n dirty testing. It's a pretty "fat"
> image, but I don't feel like optimizing it at this point. You can
> probably do away with a bunch of dependencies if You relegate yourself
> to cli only Flent. It was based on a previous attempt I saw somewhere
> here.

Thanks! I'd be happy to include this as an example in the repository
under packaging/ if you'd care to open a pull request for it? :)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/220#issuecomment-857077117

[-- Attachment #2: Type: text/html, Size: 1626 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Flent-users] Re: [tohojo/flent] Flent in Docker? (#220)
  2021-01-27 12:17 [Flent-users] [tohojo/flent] Flent in Docker? (#220) Rich Brown
                   ` (3 preceding siblings ...)
  2021-06-08 20:01 ` Toke Høiland-Jørgensen
@ 2021-09-07 15:41 ` Teoh Han Hui
  4 siblings, 0 replies; 6+ messages in thread
From: Teoh Han Hui @ 2021-09-07 15:41 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

Came across https://github.com/cdeex/flent-docker while looking for a Docker image.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/220#issuecomment-914416859

[-- Attachment #2: Type: text/html, Size: 1580 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-07 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 12:17 [Flent-users] [tohojo/flent] Flent in Docker? (#220) Rich Brown
2021-01-27 12:49 ` [Flent-users] " Toke Høiland-Jørgensen
2021-01-28 23:05 ` Rich Brown
2021-06-08 19:02 ` xciter327
2021-06-08 20:01 ` Toke Høiland-Jørgensen
2021-09-07 15:41 ` Teoh Han Hui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox