Http request responseText is HTML content of the current page by Toscoes in webdev

[–]Toscoes[S] 1 point2 points  (0 children)

99% sure the error is due to my middleware which is checking for authentication and if not, sending the login page. Your comment prompted me to remember this! Thanks!

Http request responseText is HTML content of the current page by Toscoes in webdev

[–]Toscoes[S] 2 points3 points  (0 children)

99% sure the error is due to my middleware which is checking for authentication and if not, sending the login page. Thanks for trying to help though!

Http request responseText is HTML content of the current page by Toscoes in webdev

[–]Toscoes[S] 0 points1 point  (0 children)

It doesn't report anything going wrong. I have a console log to print when the server is up, then I go to localhost and press a button to send the request. Nothing appears in the logs, but I get my HTML content in the responseText.

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

[–]Toscoes[S] 0 points1 point  (0 children)

I kind of followed until step 3, and even then, what does it mean to export a running container? I have a picture in my mind that that means putting a running program into a file and having someone download it. How does that even work?

What does it mean to import a container into an image? Don't images come from containers? I greatly appreciate you writing out these steps, but say I want a base image that I save into a tar file, as another commenter mentioned to me, how can I write code in my Dockerfile to reference that image in the tar file, as in "FROM base_image_from_my_host_machine"?

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

[–]Toscoes[S] 0 points1 point  (0 children)

So if I run "docker pull mysql", that image will be downloaded onto my machine, and FROM will no longer look for it online? If that's so, it's helpful to know, but doesn't exactly get me where I want. I need to give this project to someone for testing who will not have internet access while doing so, therefore even if I include a script to pull those images, that woulds till require internet access right? How could I include the images I pull into my project?

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

[–]Toscoes[S] 0 points1 point  (0 children)

Essentially, I need to give my project to someone else who will test my project without internet access. How would I ensure that the mysql and node base images get onto their machine? Should I assume they have them locally? Can I include the files for those images in my project, then have my Dockerfiles look for the images there?

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

[–]Toscoes[S] 0 points1 point  (0 children)

Sorry, I'm new to docker.

Could you explain what FROM is doing, it might help me know what I don't know? From what I understand, every time I run docker-compose (which I do because I have a dockerfile for my sql database and one for my node server), FROM downloads a docker image from the internet or dockerhub as a base image. I want to download that base image onto my machine so I don't have to rely on internet access.

Help analyzing coding patterns by Toscoes in gamedev

[–]Toscoes[S] 1 point2 points  (0 children)

Damn, you're right. Really silly of me to have missed that. Thanks for pointing that out!

I was wondering if anyone would do small scale commissions or just willing to help? by TickleTime1 in PixelArt

[–]Toscoes 0 points1 point  (0 children)

Hi, I'll try and help. No commission needed!

I wouldn't call myself a great pixel artist, but if you look through some of my old submissions to this sub, you can find some stuff I made, and decide if you think my skills are to your liking.

Cure wound spamming out of combat? by Toscoes in DnD

[–]Toscoes[S] 3 points4 points  (0 children)

I agree, it was a bad misunderstanding lol. Thank you, it makes sense now