An error occurred in script '/home/yhr1ef23xez5/public_html/web2/app/model/bannerhit.php' on line 17:
Undefined index: HTTP_REFERER

Array
(
    [type] => post
    [name] => docker-everywhere
)

WinWrap® | Docker Everywhere
logo WinWrap®
April 05, 2025

Docker Everywhere

Run WinWrap® Basic WWB.NET scripts on any Docker .NET platform.

  • Requires .NET 8+.
  • Use Nuget to add the WinWrap.Basic.Server package to the docker application.
  • Order WWAC52 to get an Application Certificate.

Details

Docker + WinWrap® Basic for .NET Everywhere opens up a whole new set of possiblities for running WWB.NET scripts with the BasicNoUIObj.

Here's how to see Docker + WinWrap in action:

  • Download the WinWrap® Basic for .NET Everywhere setup and install it.
  • Copy the "Docker Sample" folder to your Documents folder (or similar).
  • From Command Prompt or Power Shell create an image using the Dockerfile in the "Docker Sample" installation folder.
  • Create the docker image:
    docker buildx build -t winwrap-remote-proxy .
    
    Dockerfile contents:
    FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:35792ea4ad1db051981f62b313f1be3b46b1f45cadbaa3c288cd0d3056eefb83 AS build-env
    WORKDIR /Desktop/git/WinWrap.Basic.Server/Solutions/RemoteProxy
    
    # Copy everything
    COPY . ./
    # Restore as distinct layers
    RUN dotnet restore
    # Build and publish a release
    RUN dotnet publish -c Debug -o out
    
    # Build runtime image
    FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:6c4df091e4e531bb93bdbfe7e7f0998e7ced344f54426b7e874116a3dc3233ff
    WORKDIR /Desktop/git/WinWrap.Basic.Server/Solutions/RemoteProxy
    COPY --from=build-env /Desktop/git/WinWrap.Basic.Server/Solutions/RemoteProxy/out .
    ENTRYPOINT ["dotnet", "WinWrap.Basic.Server.Remote.dll"]
    CMD ["ip=*"]
    
    EXPOSE 5001
    
  • Run the docker image in a container:
    docker run -p 5001:5001 winwrap-remote-proxy
        
    Create Docker Image
  • Use WinWrap Director to communicate with the Docker application:
    Create and Run Docker Container
  • Open and view the Forever.bas Script inside the Docker Container
    Create Docker Image
  • Run the Forever.bas Script inside the Docker Container
    Running Script

Complete WinWrap Basic® Everywhere Reference

  • WinWrap® Basic For .NET/5+ Everywhere reference.

Copyright Polar Engineering, Inc.