# PackageCompiler.jl ERROR: ArgumentError: Package MyPackage not found in current path, maybe you meant \`import/using .MyPackage\`

**URL:** <https://discourse.julialang.org/t/packagecompiler-jl-error-argumenterror-package-mypackage-not-found-in-current-path-maybe-you-meant-import-using-mypackage/94966>\
**Category:** General Usage\
**Tags:** question, docker, package-compiler, sysimage\
**Created:** [February 21, 2023, 2:51pm UTC](https://discourse.julialang.org/t/packagecompiler-jl-error-argumenterror-package-mypackage-not-found-in-current-path-maybe-you-meant-import-using-mypackage/94966 "2023-02-21T14:51:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [February 21, 2023, 2:51pm UTC](https://discourse.julialang.org/t/packagecompiler-jl-error-argumenterror-package-mypackage-not-found-in-current-path-maybe-you-meant-import-using-mypackage/94966/1 "2023-02-21T14:51:04Z")

</div>

Hi there,  
I am really lost, trying to let PackageCompiler.jl create a sysimage within a docker, but somehow all packages don’t get added normally, but I need to access them from local modules with a prefixed dot `using .MyPackage`.

Does anyone has any idea what could go on?

* * *

EDIT: the same script which creates the sysimage is running successfully on a nixos, and I can import `using MyPackage` the standard way, however executing the sysimage generator within docker I need to run `using .MyPackage`.  
EDIT: I am using a local registry, maybe it is just that…
