openfl: unable to find user openfl: no matching entries in passwd file
Describe the bug
A clear and concise description of what the bug is.
I want to build an image from the current workspace with fx workspace dockerize --save. But it always throws the following error message:
fx workspace dockerize --save
[13:36:14] INFO FL-Plan hash is 0a75748df5759c7af688f263440ca474551f38cfcf562022f6be4db852f3ea769ab59b6dc1b3bc4df8c948d466827e21 plan.py:290
INFO plan.yaml is already frozen plan.py:92
'.workspace' file not found.
Create a default '.workspace' file? [y/N]: y
ποΈ Preparing workspace distribution zip file
βοΈ Workspace exported to archive: mnist_workspace.zip
Building the Docker image
> Step 1/10 : ARG BASE_IMAGE=openfl:latest>
> Step 2/10 : FROM ${BASE_IMAGE}>
> ---> 71b6034ad009
> Step 3/10 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]>
> ---> Running in d0bf0328c4e3
> ---> 2917710660dd
> Step 4/10 : USER openfl>
> ---> Running in 1044cddf3367
> ---> f1f1a9a60474
> Step 5/10 : ARG WORKSPACE_NAME>
> ---> Running in 62b68be5dec4
> ---> 3c9c67a907ea
> Step 6/10 : COPY ${WORKSPACE_NAME}.zip .>
> ---> e78ef86e0217
> Step 7/10 : WORKDIR /home/openfl>
> ---> Running in 378907ff6ab9
> ---> ef9f3522afae
> Step 8/10 : RUN fx workspace import --archive ${WORKSPACE_NAME}.zip && pip install -r ${WORKSPACE_NAME}/requirements.txt>
> ---> Running in dae29aa03d5f
Failed to build the Docker image:
{'errorDetail': {'message': 'unable to find user openfl: no matching entries in passwd file'}, 'error': 'unable to find user openfl: no matching entries in passwd file'}
To Reproduce Steps to reproduce the behavior:
- Go to ββ¦β
- Click on ββ¦β
- Scroll down to ββ¦β
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (5 by maintainers)
Hello @MasterSkepticista. Thanks for your help! Yes, this method sounds great, and can resolve the problem I met above. Thanks a lot! But when I was trying to containerize the workspace 2 days ago, I used the OpenFL v1.7.1, which doesnβt have
--base-imageoption yet.