Archisteamfarm: official docker version

Created on 30 Sep 2017  路  8Comments  路  Source: JustArchiNET/ArchiSteamFarm

Any plan to provide docker version officially?

I know there are many of unofficial version already.
https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=ArchiSteamFarm&starCount=0

But I think an official version might be more reliable :)

Enhancement Feedback welcome Finished Wishlist

Most helpful comment

I've never created a docker image before, but I like this idea, I'll see what can be done about it 馃憤.

All 8 comments

I've never created a docker image before, but I like this idea, I'll see what can be done about it 馃憤.

I pushed first experimental automated build to my docker repo - https://hub.docker.com/r/justarchi/archisteamfarm/tags/

Let me know if it works and if you have any suggestions how to further improve it. There will be 3 kind of tags - "master" tag that will work as current experimental AppVeyor build, "latest" tag that will point to latest release (including pre-releases), and a tag for every specific released version. For now there is only master, latest will happen since ASF V3.0.3.2, once I'm sure Docker build works the way we want it to work.

I also added wiki entry - https://github.com/JustArchi/ArchiSteamFarm/wiki/Docker

ASF version : V3.0.3.2
just try it, but I can't login with this version :(

I got this error message after enter my 2FA code
````
Please enter your 2FA code from your Steam authenticator app: XXXX
2017-10-07 04:41:09|dotnet-1|INFO|test|OnDisconnected() Disconnected from Steam!
2017-10-07 04:41:09|dotnet-1|INFO|test|OnDisconnected() Reconnecting...
2017-10-07 04:41:09|dotnet-1|INFO|test|Connect() Connecting...
2017-10-07 04:41:09|dotnet-1|FATAL|ASF|OnUnhandledException() System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SteamKit2.Internal.CMClient.Disconnect()
at SteamKit2.Internal.CMClient.Connect(ServerRecord cmServer)
at ArchiSteamFarm.Bot.d__104.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ArchiSteamFarm.Bot.d__137.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
2017-10-07 04:41:09|dotnet-1|ERROR|ASF|Exit() Exiting with nonzero error code!

Unhandled Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SteamKit2.Internal.CMClient.Disconnect()
at SteamKit2.Internal.CMClient.Connect(ServerRecord cmServer)
at ArchiSteamFarm.Bot.d__104.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ArchiSteamFarm.Bot.d__137.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()

````

I check wiki page it said it's better to use Headless mode, but how can I enter the 2FA code in this mode?
https://github.com/JustArchi/ArchiSteamFarm/wiki/Docker#pro-tips

You're using pre-release version that has its own issues. And for headless mode you can use !input.

how can I use release version?

I use tag latest, but it gave me 3.0.3.2 .

maybe something wrong with latest tag?
https://hub.docker.com/r/justarchi/archisteamfarm/builds/bncjdnpyv3nxbdx6acrsw3b/

You can't, latest stable is 3.0.3.0, and that one doesn't have docker support that was added in 3.0.3.2. I've pushed 3.0.3.3 though that addresses #665, my CIs should be already building it so just wait for it to arrive - https://hub.docker.com/r/justarchi/archisteamfarm/builds/

GJ, it work now.

But, looks not stable enough, maybe I should use it when real released version come out :D

Well, yeah, pre-release is not stable 100% of time 馃槈.

Although docker builds starting with 3.0.3.5 are stable enough to me, I only need to test if auto-updates in latest tag work properly, but that won't happen before 3.0.3.6. https://github.com/JustArchi/ArchiSteamFarm/wiki/Docker

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KazeZlat picture KazeZlat  路  4Comments

zypA13510 picture zypA13510  路  3Comments

undefo picture undefo  路  4Comments

ludo237 picture ludo237  路  3Comments

Botan626 picture Botan626  路  4Comments